Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi all,
I am trying to build a report which has multiple graphs showing accepted volume at the individual locations in our network.
Each graph is filtered down for a specific location and looks something like this:
In order to show the correct proportion, I need the y-axis to be the same for all locations. Together with a colleague, we thought of using the MAX formula:
Solved! Go to Solution.
Try
Max Y Axis =
VAR SummaryTable =
ADDCOLUMNS (
SUMMARIZE ( ALL ( VW_BI_KPI ), VW_BI_KPI[Location], 'Date'[Date] ),
"@value", CALCULATE ( SUM ( VW_BI_KPI[Accepted] ) )
)
VAR Result =
MAXX ( SummaryTable, [@value] )
RETURN
Result
Try
Max Y Axis =
VAR SummaryTable =
ADDCOLUMNS (
SUMMARIZE ( ALL ( VW_BI_KPI ), VW_BI_KPI[Location], 'Date'[Date] ),
"@value", CALCULATE ( SUM ( VW_BI_KPI[Accepted] ) )
)
VAR Result =
MAXX ( SummaryTable, [@value] )
RETURN
Result
Awesome, exactly what I needed! Thanks a lot!!
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
25 | |
20 | |
18 | |
17 | |
16 |
User | Count |
---|---|
34 | |
22 | |
19 | |
18 | |
11 |