Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
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!!
User | Count |
---|---|
16 | |
13 | |
12 | |
11 | |
11 |
User | Count |
---|---|
19 | |
14 | |
14 | |
11 | |
9 |