Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi
Someone can help me with this situation?
I need show the max value of the week every day, is It possible? What measure I need use?
I put a picture bellow that I need do.
Solved! Go to Solution.
Hi @Anonymous ,
Has your problem been solved by @Jihwan_Kim 's solution, if so, please consider accept his answer as the solution.
You can also try this measure:
Measure =
MAXX (
FILTER ( ALL ( 'Table' ), 'Table'[Week Num] = MAX ( 'Table'[Week Num] ) ),
'Table'[CONTAGEM]
)
Best Regards,
Community Support Team _ kalyj
If this post helps, then please considerAccept it as the solution to help the other members find it more quickly.
Hi,
I tried to create a sample pbix file like below.
Please check the below picture and the attached pbix file.
I hope this can help to provide ideas on how to create a solution for your data model.
Max value of the week measure: =
VAR _weektable =
ADDCOLUMNS (
FILTER (
ALL ( 'Calendar' ),
'Calendar'[Start of Week] = MAX ( 'Calendar'[Start of Week] )
),
"@Contagemvalue", CALCULATE ( MAX ( Data[Contagem] ) )
)
VAR _groupbymaxcontagem =
GROUPBY (
_weektable,
"@maxcontagem", MAXX ( CURRENTGROUP (), [@Contagemvalue] )
)
RETURN
IF (
HASONEVALUE ( 'Calendar'[Start of Week] ),
MAXX ( _groupbymaxcontagem, [@maxcontagem] )
)
Hi @Anonymous ,
Has your problem been solved by @Jihwan_Kim 's solution, if so, please consider accept his answer as the solution.
You can also try this measure:
Measure =
MAXX (
FILTER ( ALL ( 'Table' ), 'Table'[Week Num] = MAX ( 'Table'[Week Num] ) ),
'Table'[CONTAGEM]
)
Best Regards,
Community Support Team _ kalyj
If this post helps, then please considerAccept it as the solution to help the other members find it more quickly.
Check out the November 2025 Fabric update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!