Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
I am currently struggling to format a chart with multiple levels of hierarchical data. An example of this data is
Where "Operations" = "Air & Climate" + "Buildings" and "Air & Climate" = "Greenhouse Gas Emissions
" + "Outdoor Air Quality" and so on....
Now with saying these categories described above are all values for different schools. I currently have each school per row and each one of the categories (with no difference between eachother regardless of hiearchy) seperated in columns. I am struggling to format my chart in a way that I can kind of drill down looking at total "Operations" then "Air & Climate" and "Buildings" and then to "Greenhouse Gas Emissions" and so on. If anyone has any suggestions on how to format this PLEASE do not hesitate to reach out.
Thank you!!
Solved! Go to Solution.
@Anonymous
check out the file: https://1drv.ms/u/s!AiiWkkwHZChHjzGtI-Xx9wDMAKfG
Did I answer your question correctly? Mark my answer as a solution!
Proud to be a Datanaut!
Hi @Anonymous,
Please refer to the online documents as below.
Understanding Functions for Parent-Child Hierarchies in DAX
Regards,
Frank
Hi @Anonymous,
Please refer to the online documents as below.
Understanding Functions for Parent-Child Hierarchies in DAX
Regards,
Frank
You will have to modelate your tables in order to get these categories in rows instead of in columns. May be you can create a table with all the categories and make a relation between schools (with the lowest level category in a row ) and your dimension table called categories.
CATEGORY 1 CATEGORY 2 CATEGORY 3 SCHOOL ID CATEGORY 3
A AA AAA X AAA
A AA AAB Y BBA
A AB ABA -------------------------> Z ABA
B BA BAA
B BB BBA
Regards
markross92.....
I apologize if I am misunderstanding but if I only have my lowest level of data present then I would not be able to drilldown through? For example having a bar chart with just total "Operation" for each school, then drill to "Air&Climate" and "Buildings" for each school and so on.
Hi @Anonymous
what does your data table looks like?
also, what does the whole hierarchy look like?
Did I answer your question correctly? Mark my answer as a solution!
Proud to be a Datanaut!
LivioLanzo......
My data table:
School ID Operations Air&Climate GreenhouseGas OutdoorAirQuality Buildings BuildingOperations
School A A AA AAA AAAA AB ABB
School B
School C
where,
A= AA+AB
AA = AAA+AAAA
AB=ABB
There are more sections to the hiearchy but they follow this same type of format. I figure if I can understand how this set of data should be formatted I will be able to apply it to the other categories.
Hope this helps, thanks!
@Anonymous
check out the file: https://1drv.ms/u/s!AiiWkkwHZChHjzGtI-Xx9wDMAKfG
Did I answer your question correctly? Mark my answer as a solution!
Proud to be a Datanaut!
Took a look an thank you so much for providing that, it was extremly helpful.
I was wondering though if you could link me to some documentation or further explain how the path column works in your items table?
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
133 | |
76 | |
53 | |
38 | |
37 |
User | Count |
---|---|
203 | |
81 | |
71 | |
55 | |
48 |