Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi guys,
Please help me with this table.
Machine | Working time | Time for maintaining | Percentage of mantaining |
A | 100 | 5 | 5.00% |
A | 200 | 4 | 2.00% |
C | 50 | 2 | 4.00% |
B | 90 | 0 | 0.00% |
B | 80 | 3 | 3.75% |
I would like to draw a line chart showing percent of maintaining of each machine A,B,C.
If I use the average of Value in column "Percentage of mantaining", the result should be: A: 3.5%, C:4%, B: 1.88%.
However, those are not true since the true values should be:
Machine | Working time | Time for maintaining | Percentage of mantaining |
A | 300 | 9 | 3.00% |
B | 170 | 3 | 1.76% |
C | 50 | 2 | 4.00% |
Is there any method for me to draw a line chart showing the true percentage of maintaining for each machine?
Thank you.
Solved! Go to Solution.
Hi,
Create a measure as below,
Hi,
Create a measure as below,
Thanks man, it did work.
@Anonymous i think i misunderstood your queston, just drop your percentage column on value and change aggregation to Avg and it should work.
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
@Anonymous you have to break the ties in machine number otherwise it is going to aggregate the values. To break ties, add index column using power query and concatenate it with machine number, it will make machine number a unique identifies, and then use new machine number on axis, only challenge is that you will see concatenated index number with mahine number of x-axis
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
93 | |
77 | |
65 | |
53 |
User | Count |
---|---|
147 | |
106 | |
104 | |
87 | |
61 |