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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
rp2022
Helper II
Helper II

Matrix visual / Pivot / Unpivot - with measures

Input: 

Detail1Detail2Detail3Detail4Detail5DateV1v2v3v4
hahha1/1/20241111
cfced1/6/20244444
hahbg2/26/20247777
cfcgb2/1/20242222
hahde3/8/20243214
cfcah3/18/20248888
hahfc4/2/20243333
cfccf4/10/20246666

 

 

Desired Output:

   V1V2V3V4
   Prev MonthCurrent MonthDiffPrev MonthCurrent MonthDiffPrev MonthCurrent MonthDiffPrev MonthCurrent MonthDiff
hah33023113243-1
cfc86-286-286-286

-2

 

I have measures to calculate prev month totals, but htey are not working well

3 REPLIES 3
rp2022
Helper II
Helper II

will take a look at it, But my desired output (copied from excel) didnt give the right picture, i think. Below is what i am looking at, not some extra columns in the matrix, but i cannot even get more than 1 column to display in the matrix.

rp2022_0-1713963184500.png

 

@rp2022 It's the same technique. Essentially you need a disconnected table for your hierarchy and a single measure that recognizes where it is in the hierarchy and returns the appropriate calculation.



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...
Greg_Deckler
Community Champion
Community Champion

@rp2022 For something like that I think that you will need a custom matrix hierarchy: The New Hotness (Custom Matrix Hierarchy) - Microsoft Fabric Community

 

Also, this might help you: You may find this helpful - https://community.powerbi.com/t5/Community-Blog/To-bleep-With-Time-Intelligence/ba-p/1260000

Also, see if my Time Intelligence the Hard Way provides a different way of accomplishing what you are going for.

https://community.powerbi.com/t5/Quick-Measures-Gallery/Time-Intelligence-quot-The-Hard-Way-quot-TIT...



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...

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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