The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. 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!!
User | Count |
---|---|
17 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
26 | |
13 | |
12 | |
9 | |
8 |