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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Anonymous
Not applicable

Matrix : Drill down column differences for each Category

Hi Team,
I have a Matrix table with column drill down, Please advise on the differences for the each category.
please share the dax functions for the differences.
Capture3.PNG

5 REPLIES 5
Anonymous
Not applicable

HI @Anonymous,

I'd like to suggest you modify the current columns of matrix to move fiscal year above of the region group. Then these visualization will display the different region values at the same fiscal years group.

formula =
VAR regionA =
    CALCULATE (
        SUM ( Table1[Amount] ),
        FILTER ( ALLSELECTED ( Table1 ), [Region] = "APAC" ),
        VALUES ( Table1[Product] ),
        VALUES ( Table[Fiscal Year] )
    )
VAR regionB =
    CALCULATE (
        SUM ( Table1[Amount] ),
        FILTER ( ALLSELECTED ( Table1 ), [Region] = "EMEA" ),
        VALUES ( Table1[Product] ),
        VALUES ( Table[Fiscal Year] )
    )
RETURN
    regionA - regionB

Regards,

Xiaoxin Sheng

Anonymous
Not applicable

Hi @Anonymous 

If Region more than 2, then how do I change dynamicly.

Please advise.

 

Thanks,

w_Das

Anonymous
Not applicable

Hi @Anonymous 
I want to show the difference with column drill down for each product. Please advise me 

Anonymous
Not applicable

HI @Anonymous,

Any other field can be recognized the sort order or index of these field values?

The text values not able to work as numeric value to extract the current value and loop based on offset to dynamic calculate between different categories.

Can you please share a pbix or some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

Anonymous
Not applicable

Hi @Anonymous ,

Thanks for the reply,

 

I have below scenario,

 

Single table have 4 region or maybe added in furture (dynamic).
create Matrix table using 3 layer drilldown 

Question is : Revenue (value) wants to show matrix table value 
                    Column - Region and difference (if selected two region then difference show selected region varience and drilldown also required)

 

 
Thanks,

w_Ds

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.