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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Table with measures in rows and columns

Hello,

 

is it possible to place measures in table/matrix as below in Power BI? Basically I know how to create all the measures, but I don't know how to allocate them in presented way. Many Thanks, Kamil 

 

KamilSzpyrka_0-1643103700707.png

 

3 REPLIES 3
MargaritaG
Resolver I
Resolver I

to format calculation groups select in Property Format String Expression

MargaritaG_0-1643204072005.png

 

amitchandak
Super User
Super User

@Anonymous , You have create a custom table or calculation groups

 

example

union(
summarize('Table',"Measure","Min","Test1",min('Table'[Test1]),"Test2",min('Table'[Test2]),"Test3",min('Table'[Test3]))
summarize('Table',"Measure","Max","Test1",max('Table'[Test1]),"Test2",max('Table'[Test2]),"Test3",max('Table'[Test3]))
)
"QTD" , "YTD" , "MTD"

union(
summarize('Table',"Measure","sales","This period",[SALES YTD],"Last period",[SALES LYTD],"POP",[SALES YOY])
summarize('Table',"Measure","unit","This period",[unit YTD],"Last period",[unit LYTD],"POP",[unit YOY])
)

 

 

But new table will not take filters so you need to add them as a group by in the new table  and join them with dimensions again

 

tabular - Calculation groups
https://docs.microsoft.com/en-us/analysis-services/tabular-models/calculation-groups?view=asallproducts-allversions#limitations

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Hi @amitchandak ,

Thank you for support, you are very helpful as always 🙂 I used calculation group in order to create desired table. I approached next challange - I wanted to apply conditional formatting for 2 out of 6 calculated items. Is there any possibility for this? Thanks, Kamil

KamilSzpyrka_0-1643194876271.png

 

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

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 community update carousel

Fabric Community Update - June 2025

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