Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
curiouscat
Frequent Visitor

Simple Drill Down

Hi

 

I know this may be a simple task, however, I have spend a few days trying to figure out how to allow drill down with a sample set of data that I have.

 

I have a set of application , and their compliance score per category; where overall will branch to Application and OS and then OS branch to windows and Linux. How do i go about creating a matrix/pivot that will show the ApplicationName at top level with the overall compliance score, allowing user to drill down to application and os, and then from os to windows and linux?

 

any help is greatly appreciated. thank you!

 

ApplicationNameSLA_TypePercentageCompliance
MondayAppOS-Linux38.54
MondayAppOS38.54
MondayAppApplication26.67
MondayAppOverall36.94
TuesdayAppOS-Windows39.73
TuesdayAppOS39.73
TuesdayAppApplication45.45
TuesdayAppOverall41.05
FunAppOS-Windows50.9
FunAppOS50.9
FunAppApplication35.37
FunAppOverall48.19
App123OS-Windows64.29
App123OS64.29
App123Application33.33
App123Overall58.82
App365OS-Windows70.34
App365OS70.34
App365Application40.48
App365Overall63.64
1 ACCEPTED SOLUTION
daxer-almighty
Solution Sage
Solution Sage

You clearly have hierarchies here, so you have to create them. Bear in mind that hierarchies must reside in one and the same table. When designing tables with hierarchies, think about what a Date table looks like... Once you get your hierarchy/hierarchies right, you're almost done with your task.

 

Here's a file that does what you want:

https://1drv.ms/u/s!ApyQEauTSLtOgZlNkcwZPyDsKLJojw?e=iWH3bv

 

View solution in original post

5 REPLIES 5
curiouscat
Frequent Visitor

may I ask if I would like to return the score as it is selected, instead of the average. is there a function to do that? thank you.

@curiouscat 

 

I don't really understand what you mean. If you select just the right entities from your tables, the average will return the raw score since it won't have to average over many items. But this is a measure, so it has to work for any context. Hence the aggregation. An average makes sense. Other aggregations not so much. If you want to check if there is just one entity in the context, then you'll have to deal with detecting context. You can use functions such as HASONEVALUE, ISINSCOPE, HASONEFILTER... But such a measure will not be universal.

understood. thanks again! 

curiouscat
Frequent Visitor

Thanks, a million! you are a great saviour 🙂 

daxer-almighty
Solution Sage
Solution Sage

You clearly have hierarchies here, so you have to create them. Bear in mind that hierarchies must reside in one and the same table. When designing tables with hierarchies, think about what a Date table looks like... Once you get your hierarchy/hierarchies right, you're almost done with your task.

 

Here's a file that does what you want:

https://1drv.ms/u/s!ApyQEauTSLtOgZlNkcwZPyDsKLJojw?e=iWH3bv

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.