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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
Super User
Super User

@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!:
Power BI Cookbook Third Edition (Color)

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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