Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
i don't get very well what are you trying to do but as far as i can recall
a) if you have a table like this:
Region | Amount
SubRegionA | 1
SubRegionB | 2
TotalRegion | 3
You reconfigure it to something like this
SubName | Reg Name | Amount
SubRegionA | TotalRegion | 1
SubRegionB | TotalRegion | 2
Since pBI will calculate the sum / average and so on for you, you don't need to add totals
the other way i can think of is to create a new table like some sort of ID
SubName | Reg Name
SubRegionA | TotalRegion
SubRegionB | TotalRegion
and link them by "sub Region Name" with the main Table, and create the hierarchy from there
Thanks for your ideas! Unfortunately the first suggestion won't work because then I'd be taking an average of an average (which is statistically irrelevant/incorrect). With your second suggestion, I might be able to do something like this...
SubName | SubRegionAverage | Total
SubRegionA | RegionAAverage | TotalRegionAverage
SubRegionB | RegionBAverage | TotalRegionAverage
I'd have to use a MAX on each to get the actual average values, but this could work. The concern I'd have with this approach is then that these are separate "measures" for Power BI. Is there a way to selectively aggregate different data elements in a measure based on a user's selection? Sorry I'm really new to Power BI.
When a visual has a hierarchy, you can drill down to reveal additional details. Hierarchy are created on dimension. And the value will aggregated automatically on each level. Such as : Region>Country>City... So we just need detail data. Please refer to the link below to see the details about dirll down visual in Power BI.
https://powerbi.microsoft.com/en-us/documentation/powerbi-service-drill-down-in-a-visualization/
Regards,
Charlie Liao
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
97 | |
85 | |
70 | |
61 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |