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 Everyone,
I have staff schedule in monthly entry in excel, knowing the date is a row at the top; how can I use the below table to reflect it in power bi??
I have been trying for 2 weeks and I could not figerout how reflect it as:
Name | Shift | Date |
Test | A | 1-JULY-2022 |
Thank you
Solved! Go to Solution.
Hi @inawab ,
You can try to unpivot it in power query.
Then create a custom column via:
#date(2022,7,Number.FromText([Attribute]))
Result:
Pbix in the end you can refer.
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @inawab ,
You can try to unpivot it in power query.
Then create a custom column via:
#date(2022,7,Number.FromText([Attribute]))
Result:
Pbix in the end you can refer.
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@inawab , Have date table with day as one column
Day = day([date])
Then create measure. I using max you use correct measure
M1= Max(Table[Col])
M2 = if (isblank(M1]), "Off", [M1])
Now display the same in matrix.
Use m2 to create a measure that returns color
Measure =
Switch(true(),
max(Table[Column]) = "R1" , "Red" ,
max(Table[Column]) = "R2" , "Green" ,
max(Table[Column]) = "R3" , "Pink "
)
Use this measure in conditional formatting using field value option
How to do conditional formatting by measure and apply it on pie?
https://www.youtube.com/watch?v=RqBb5eBf_I4&list=PLPaNVDMhUXGYo50Ajmr4SgSV9HIQLxc8L
https://community.powerbi.com/t5/Community-Blog/Power-BI-Conditional-formatting-the-Pie-Visual/ba-p/...
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 |
---|---|
113 | |
100 | |
78 | |
76 | |
52 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |