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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register 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 :
@v-yilong-msft
@v-huijiey-msft 
@v-yangliu-msft 
@v-rzhou-msft 
@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.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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