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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Anonymous
Not applicable

Error in metric when using drill down on matrix

Hi,

Currently I'm showing a matrix with multiple columns (all of them are metrics) where I show some values and I created a metric thath divide tha value over the numbre of boxes (8. Full boxes) to create a KPI (Actual x Box) as the image shows:

juanmg_92_1-1612795417306.png

but when I use the dril down of the matrix the values inside the line become all 0

juanmg_92_0-1612795366746.png

 

4 REPLIES 4
Anonymous
Not applicable

Hi @Anonymous ,

It is a little difficult to find the cause of problem without sample datametric formula and the setting of matrix(Rows:? Columns:? Values:?). Could you please provide these information in order to make troubleshooting and find the solution? It is better if you can make sample pbix file(exclude sensitive data) for us. Thank you.

Best Regards

Anonymous
Not applicable

Anonymous
Not applicable

Hi @Anonymous ,

Please try to create another new measure as below and put it in your matrix to replace the original measure [USD x Box] and check whether that is what you want:

New_USD x Box =
SUMX (
    GROUPBY (
        'P&L Lines',
        'P&L Lines'[Line 1],
        'P&L Lines'[Line 2],
        'P&L Lines'[Line 3],
        'P&L Lines'[Chart of Account]
    ),
    [USD x Box]
)

error in metric.JPG

Best Regards

Anonymous
Not applicable

Hi @Anonymous the new metric is not working because now all values are 0. I need that de value of each line gets divided by the number of boxes so for example when I open the line 1. Revenue, the values that appear on the column Actual x Box shoud be for example the value of the line 11. Revenue Flowers Gross (163,091.3) divided by 8. Full Boxes (1,217.8) and the result shoud be 133.92 but it is showing 0, the metric it is only doing the division for the upper level of the hierarchy

juanmg_92_1-1613486950187.png

When I open the next level of the hierarchy the metric stops doing the division and insted always show 0

juanmg_92_2-1613487131276.png

Thanks

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.