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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started


Matrix Drill Down error

Hi team ,

I have a matrix with rows,columns and values as the following :



   In Values field :  i have averages (measure)


This is the following matrix :



The problem starts when i try to drill down my matrix from area level view to cluster level view :





the row wise averages are correct but the column wise averages are wrong

also when i use the "DRILL DOWN" functionality by selecting/Right -clicking the area row inorder to view the cluster level view :

the averages at column level are wrong




how can we tackle this problem?


Thanks in Advance


AVERAGEX(ADDCOLUMNS(SUMMARIZE('SP: Heatmap - Sub','SP: Heatmap - Sub'[Area],'SP: Heatmap - Sub'[Control]),"Value",CALCULATE(AVERAGE('SP: Heatmap - Sub'[Values]))),[Value])

Super User
Super User

Try this



Answer = 
HASONEVALUE(Stats[Cluster]) && HASONEVALUE(Stats[Column]),SUM(Stats[Amount]),



Click here to download solution 

I am not sure I understand your problem.
We want to help you but your description is too vaugue. Please write it again clearly.

Please DON'T copy & paste your DAX that does not work and expect us to fathom what you want to do. 

Please just give a simple non technical functional description of what you want, then let us suggest the DAX. Thank you.

Provide example input data as table text (not a screen print) so we can import the data to build a solution for you.
Also provide the example desired output, with a clear description of the process flow.

Remember not to share private data ... we don't want you to get into trouble. 😧

Take time and care to use the same table and field names in the input, output and description so we can understand your problem and help you.

You will get a quick response if you put time, care and effort into writing clear problem descriptions.

Vaugue descriptions can waste your time and ourtime.

Look foward to helping you when the above information is forthcoming

Hi @speedramps ,

Thanks for the Reply,

To be more specific , 

my goal is to find averages at area and cluster level.

as you are aware when we include 2 values under rows in a matrix it enables us to have drill through.

Area and cluser are my drill through option

when i drill from area level to cluster level , the vertical averages are showing wrong or same as area level averages




Please click on the link to downlaod the solution.

It does exactly what you asked.

I asked you for more example data but you did not go to the effort to provide any.

Whereas I have taken a lot of uppaid time and effort to answer your question with an example and link.
Please be polite and accept this free solution and click thumbs up, if you wish to to receive more free support.
If you want somethings else but didnt ask the right question, then close this question and create a new one.


Click here to download solution 


Answer = 
HASONEVALUE(Stats[Cluster]) && HASONEVALUE(Stats[Column]),SUM(Stats[Amount]),





Helpful resources

Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.