The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Input:
Detail1 | Detail2 | Detail3 | Detail4 | Detail5 | Date | V1 | v2 | v3 | v4 |
h | a | h | h | a | 1/1/2024 | 1 | 1 | 1 | 1 |
c | f | c | e | d | 1/6/2024 | 4 | 4 | 4 | 4 |
h | a | h | b | g | 2/26/2024 | 7 | 7 | 7 | 7 |
c | f | c | g | b | 2/1/2024 | 2 | 2 | 2 | 2 |
h | a | h | d | e | 3/8/2024 | 3 | 2 | 1 | 4 |
c | f | c | a | h | 3/18/2024 | 8 | 8 | 8 | 8 |
h | a | h | f | c | 4/2/2024 | 3 | 3 | 3 | 3 |
c | f | c | c | f | 4/10/2024 | 6 | 6 | 6 | 6 |
Desired Output:
V1 | V2 | V3 | V4 | |||||||||||
Prev Month | Current Month | Diff | Prev Month | Current Month | Diff | Prev Month | Current Month | Diff | Prev Month | Current Month | Diff | |||
h | a | h | 3 | 3 | 0 | 2 | 3 | 1 | 1 | 3 | 2 | 4 | 3 | -1 |
c | f | c | 8 | 6 | -2 | 8 | 6 | -2 | 8 | 6 | -2 | 8 | 6 | -2 |
I have measures to calculate prev month totals, but htey are not working well
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 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.
@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...
User | Count |
---|---|
65 | |
61 | |
60 | |
53 | |
27 |
User | Count |
---|---|
181 | |
83 | |
68 | |
49 | |
46 |