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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.