Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello guys!
I have two different metrics in a table of excel: Actual Payments and Budget Payments (they are different metrics in power bi also).
I've created some custom period metrics like Actual Payments YTD, Actual Payments MTD etc but I need these metrics grouped by custom period in the rows like in the image below.
Anyone can help me create these same tables in Power BI? I have a date column too.
Thank you
Solved! Go to Solution.
HI @matandradef,
For your requirement, you can also try to create a table with all category type values. Then you can use this field on matrix and write a measure formula with switch function to use on matrix value field to achieve your requirement.
Solved: Re: DAX SWITCH + SELECTEDVALUE() - Microsoft Fabric Community
Regards,
Xiaoxin Sheng
HI @matandradef,
For your requirement, you can also try to create a table with all category type values. Then you can use this field on matrix and write a measure formula with switch function to use on matrix value field to achieve your requirement.
Solved: Re: DAX SWITCH + SELECTEDVALUE() - Microsoft Fabric Community
Regards,
Xiaoxin Sheng
@matandradef , You can get that using calculations groups. They are now available on desktop
Calculation Groups- Measure Slicer, Measure Header Grouping, Measure to dimension conversion. Complex Table display : https://youtu.be/qMNv67P8Go0
Calculation Groups- Measure Slicer, Measure Header Grouping, Measure to dimension conversion. Complex Table display : https://youtu.be/qMNv67P8Go0
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
72 | |
70 | |
37 | |
29 | |
27 |
User | Count |
---|---|
91 | |
49 | |
45 | |
38 | |
36 |