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.
I have a new calculated column created which reads as
The blue part of the graph is used tag ids and the orange part is the shared tag id's. One of the way i thought was to create an unpivoted column but since the Used/Shared is a calculated column I could not do so. I just wanted to see if there is any other way apart from creaating 2 dofferent columns for used and shared.
Solved! Go to Solution.
@rveerasamy , I can see you are creating a column using Tag ID.
That can be used dimension for stacked.
if needed you can create measures
Used = calculate(count(Tag[ID]), [Used/Shared] ="Used")
Shared= calculate(count(Tag[ID]), [Used/Shared] ="Shared")
Or unpivot, but for that create this column in power query
Used/Shared = if [Order Owner ID]= [Tag ID] then "Used" else "Shared"
refer
https://radacad.com/pivot-and-unpivot-with-power-bi
@rveerasamy , I can see you are creating a column using Tag ID.
That can be used dimension for stacked.
if needed you can create measures
Used = calculate(count(Tag[ID]), [Used/Shared] ="Used")
Shared= calculate(count(Tag[ID]), [Used/Shared] ="Shared")
Or unpivot, but for that create this column in power query
Used/Shared = if [Order Owner ID]= [Tag ID] then "Used" else "Shared"
refer
https://radacad.com/pivot-and-unpivot-with-power-bi
If you are using 2 different columns (unpivoted) you can put both in Values of "Stacked Column Chart"
If you have 1 column identifying (Shared/Used) and other Values, you put "Used/Shared " in legends and Values in Value of "Stacked Column Chart"
Proud to be a Super User!
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 |
---|---|
109 | |
98 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
102 | |
88 | |
63 |