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 there,
I have spent a while looking through a simple way to convert RAG status to individual numbers - The information is pulled from a sharepoint list into PowerBI, however, I can only find overly complicated/partial solutions that do not give me what I need. The cassification will either be "R", "A" or "G" as below:
What is the exact formula that I would need in creating a new column to convert R = 1, A = 2 and G = 3 ?
I would then pull this information through and use conditional formatting for icons to support dashboard creation (visuals).
Thanks for any support that you could give here 🙂
Solved! Go to Solution.
Hi, @Anonymous
Try this:
each if [Status] = "R" then 1 else if [Status] = "A" then 2 else if [Status] = "G" then 3 else null
Proud to be a Super User!
@Anonymous Try:
if [Status] = "R" then 1 else if [Status] = "A" then 2 else if [Status] = "G" then 3
@Greg_Deckler thanks for the support, however, it doesnt work, I have the following issue:
any suggestions? thanks in advance 🙂
Hi, @Anonymous
Try this:
each if [Status] = "R" then 1 else if [Status] = "A" then 2 else if [Status] = "G" then 3 else null
Proud to be a Super User!
@ALLUREAN perfect, exactly what I needed! Thank you both for your support and trouble shooting here. Great community!
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 |
---|---|
114 | |
105 | |
79 | |
68 | |
63 |
User | Count |
---|---|
148 | |
107 | |
106 | |
82 | |
70 |