Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon'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.
I have a around 20 columns in my table, that are true/false values. I want to display the true percentages for each column in a single visulization. Is this possible, if so how?
For example:
AsOfDate | Option A | Option B | Option C | Option D | Option E | Option F | Option G |
1/1/2020 | 1 | 0 | 1 | 1 | 1 | 1 | 1 |
1/2/2020 | 1 | 0 | 1 | 1 | 1 | 1 | 1 |
1/3/2020 | 1 | 0 | 1 | 1 | 1 | 1 | 1 |
1/4/2020 | 1 | 0 | 1 | 1 | 1 | 1 | 1 |
1/5/2020 | 1 | 0 | 1 | 1 | 1 | 1 | 1 |
1/6/2020 | 1 | 0 | 0 | 1 | 1 | 1 | 1 |
1/7/2020 | 1 | 0 | 0 | 1 | 1 | 1 | 0 |
1/8/2020 | 1 | 0 | 0 | 1 | 1 | 0 | 0 |
1/9/2020 | 1 | 0 | 0 | 1 | 0 | 0 | 0 |
1/10/2020 | 1 | 0 | 0 | 0 | 0 | 0 | 0 |
Option A: 100%
Option B: 0%
Option C: 50%
Option D; 90%
Option E: 80%
Option F: 70%
Option G: 60%
Solved! Go to Solution.
@daryllabar , first unpivot
https://radacad.com/pivot-and-unpivot-with-power-bi
Transpose : https://yodalearning.com/tutorials/power-query-helps-transposing-data/
After that with new option column
try this divide(sum(Table[Option]),count(Table[Option]))
@daryllabar , first unpivot
https://radacad.com/pivot-and-unpivot-with-power-bi
Transpose : https://yodalearning.com/tutorials/power-query-helps-transposing-data/
After that with new option column
try this divide(sum(Table[Option]),count(Table[Option]))
After I unpivoted, I just select a bar chart and added the values column to it, sand selected Average for the column and that did what I want. Although I wish the label would be 95% rather than .95, but it works!
After the Unpivot, I have 500k rows. I'm guessing that should not be transposed, since that will creat 500k columns, or am I misunderstanding it?
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
143 | |
75 | |
64 | |
52 | |
47 |
User | Count |
---|---|
218 | |
86 | |
64 | |
63 | |
60 |