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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Cardi0z
Helper I
Helper I

need help: how to calculate measure then display it into the table and bar chart power bi

Dear All,

below i have attached sample data. need help how to calculate the measure, then display it into the table and bar chart on power bi? this is a little complicated, because the results must be exactly the same. I need logic to calculate it and I still haven't got it.


link:
Sample data 

Thank you

CC :
@Anonymous
@Anonymous 
@Anonymous 
@Anonymous 
@Anonymous 

3 REPLIES 3
Cardi0z
Helper I
Helper I

Dear @amitchandak 

1. below is the data source

Cardi0z_0-1718093608078.png

 

2. I want to visualize a report data table in power BI with values ​​taken from the data source. below is the screnshoot (table 1)

Cardi0z_1-1718094023340.png


the header name and column "Type" must be the same as the screenshoot above

3. next, i want to create the table data in power bi (table 2), with value from category. below is the screenshoot.

Cardi0z_2-1718094235736.png


the header name and column "Category" must be the same as the screenshoot above

4. next, i want to create bar chart, with value base on "Tabel 2".  below is the screenshoot.

Cardi0z_3-1718094349203.png


the legend name is "Liquid", "Solid", and "Total". to make it easier to understand, I have included an attachment below:

https://docs.google.com/spreadsheets/d/15T8QHhxz6mF4qRl9y91qLg6ovCwLR1Dy/edit?usp=drivesdk&ouid=1095... 

i hope you can help me how to solve the problem.
thank you.

amitchandak
Super User
Super User

@Cardi0z , what is the measure calculation you need?

 

The information you have provided is not making the problem clear to me. Can you please explain with an example.

Appreciate your Kudos.

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

@amitchandak 

halo, can you help me?

Helpful resources

Announcements
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.