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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
pakovic
Helper I
Helper I

Colums Calculate

Hi, I have this table in powerbi desktop and I would like to be able to display the data like this.
I have tried to use the filter function, but I get an error. is it possible to represent the table in powerbi in this way?

Attached pbix file

https://drive.google.com/file/d/1LlMuKwrs2JKNo0c0V4IfQtzKLn9pxEM5/view?usp=sharing

 

pakovic_0-1643026589585.png

 

1 ACCEPTED SOLUTION
Tahreem24
Super User
Super User

@pakovic YOu should create a Measure like below:

Measure 2 = CALCULATE(SUM('Table'[Amount Cost]),ALLSELECTED('Table'[Type]))
 
Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard

View solution in original post

2 REPLIES 2
Tahreem24
Super User
Super User

@pakovic YOu should create a Measure like below:

Measure 2 = CALCULATE(SUM('Table'[Amount Cost]),ALLSELECTED('Table'[Type]))
 
Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard

Ok, you've given me a hint... the correct function maybe would be:

Measure 2 = CALCULATE([Amount Cost];ALLSELECTED(Sales[Product]))

Thank you very much!!!

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.