Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
HI,
I am new to PowerBI and have been exploring my usecase but couldnt find a solution. Can somehelp on how i can achieve this?
I need to create a Stacked column chart with date in X-axis and in Y-axis i want to add up Col to Col 5 to how 100%
Here Col1 - 20% , Col 2 - 25%, Col 3 - 30%, col 4 - 10%, Col 5 - 15%. Basically, i am determining how much each column % is instead of distributing same % for all the columns.
I tried to select Col 1 - Col 5 & Unpivot these selected columns and tried to use Marix visualization but i can only convert columns to rows (Attribute and Value) and get the counts. If i change to % of GT, then i am getting equal % for all the columns.
Also, how can i show % of Yes, No values in Col1, Col2 instead of showing percentage of columns.
Anyone has suggestions on this?
@powerbiusertest , my advice would be to unpivot the data then % of total and subtotal can help
Unpivot Data(Power Query): https://youtu.be/2HjkBtxSM0g
Percent of Total and Percent of SubTotal https://www.youtube.com/watch?v=6jTildcV2ho
https://www.youtube.com/watch?v=cN8AO3_vmlY&t=24270s
Thanks @amitchandak !
I cannot figure out how can i achieve Col1 - 20% , Col 2 - 25%, Col 3 - 30%, col 4 - 10%, Col 5 - 15%.
I am trying if i can add an IF or SWITCH in my measure to verify the attribute and then set the desired % but i cannot use 'Table'[Attribute]="Col1" in the IF or SWITCH, seeing an error cannot find name for Attribute.
Below measure gives same 20% across all the attributes Col1 to Col7 but i want to set different percentages and i cannot use Attribute in condition.
User | Count |
---|---|
125 | |
106 | |
99 | |
63 | |
62 |
User | Count |
---|---|
135 | |
116 | |
101 | |
71 | |
61 |