Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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 @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] )
)
User | Count |
---|---|
25 | |
12 | |
8 | |
8 | |
7 |
User | Count |
---|---|
27 | |
13 | |
13 | |
11 | |
6 |