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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Striker0794
New Member

Multiple Measures in matrix on same level

Hello,

 

I got stuck into one Business requirment, I want to show Multiple measures on the same level of Matrix as seen in below image. Here Month Wise Data Should Be shown by one measure, and then QTD and YTD should be a different measure.

 

Now, I am struggling to get these 2 measures on same level.

Striker0794_0-1717689168612.png

Please help me on this, I will be very thankfull.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@Greg_Deckler Thanks for your contribution on this thread.

Hi @Striker0794 ,

Base on your description, it seems that you want to add the additional measures [QTD],[YTD] and [YIM] with the same level as the value field. And these 3 measures not be divided into the date. Am I right? If yes, you can follow the steps below to get it:

1. Create a calculated column as below to get the attributes base on the date("QTD","YTD","orignal month")

2. Create a measure as below to get the values for different attributes

Measure =
VAR _attr =
    SELECTEDVALUE ( 'Table'[Attribute] )
RETURN
    CALCULATE (
        SUM ( 'Table'[value] ),
        FILTER ( 'Table', 'Table'[Attribute] = _attr )
    )

3. Add the new calculated column onto the matrix to replace the original field [Month Wise Date] and put the above measure onto Values option

Best Regards

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

@Greg_Deckler Thanks for your contribution on this thread.

Hi @Striker0794 ,

Base on your description, it seems that you want to add the additional measures [QTD],[YTD] and [YIM] with the same level as the value field. And these 3 measures not be divided into the date. Am I right? If yes, you can follow the steps below to get it:

1. Create a calculated column as below to get the attributes base on the date("QTD","YTD","orignal month")

2. Create a measure as below to get the values for different attributes

Measure =
VAR _attr =
    SELECTEDVALUE ( 'Table'[Attribute] )
RETURN
    CALCULATE (
        SUM ( 'Table'[value] ),
        FILTER ( 'Table', 'Table'[Attribute] = _attr )
    )

3. Add the new calculated column onto the matrix to replace the original field [Month Wise Date] and put the above measure onto Values option

Best Regards

Greg_Deckler
Community Champion
Community Champion

@Striker0794 Not sure I fully understand but maybe switch the measures to rows?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Thanks for your time, But if you see screenshot, QTD and YTD are 2 different measures , They are not related to YYYY- MM as shown in Column Headers. First I want to show month wise data and then QTD and YTD, That should work as per slicer.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.