Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Good morning
I am trying to generate a 100% bar chart in which I see the data of a stock, more specifically, the total stock and the percentage of the stock that does not have rotation. I know this data and I have it collected in two columns. The problem is that by incorporating them into the 100% graph, what it does is add up both total values and tell me what the percentage of each one is.
How do I tell you that 100% is the total stock and what I want to know is the percentage on that 100% that represents what has no rotation?
Thank you!
Solved! Go to Solution.
@Syndicate_Admin , You should create a measure
Divide(Sum(Table[No rotation]), Sum(Table[Stock]) )
and use that in bar visual
In case it has not been clear, let's imagine that the total stock is 100 kg and I have 10 kg that have no rotation. In this way, I would like the chart to reflect that 10% of the stock has no rotation. However, if I add it to a 100% graph, the graph shows me that the percentage without rotation is 9.09%, because it adds the two values and calculates the percentages on the total, which are 110 kg.
@Syndicate_Admin , You should create a measure
Divide(Sum(Table[No rotation]), Sum(Table[Stock]) )
and use that in bar visual
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
86 | |
79 | |
54 | |
39 | |
35 |
User | Count |
---|---|
102 | |
82 | |
48 | |
48 | |
48 |