The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi All,
I have a table with a column that looks at programs and a column that looks at phases and another column that has the status of the phases. I want to create another column that will return if all phases are completed, then return 'completed, or if all phases are not started, then return 'not started', else return 'In Progress"
How would i do this in power bi.
Thank you in advance
Solved! Go to Solution.
I managed to figure this out.
I managed to figure this out.
Thank you @Arul Arul,
That partly worked. However, I still have one that's returning 'In Progress', even through all status 'Not Started'.
Any ideas why this may be?
@Cel87 ,
I belive this is your expectation,
Column = SWITCH(
TRUE(),
DISTINCTCOUNT('Table'[Phase Status])=1 && 'Table'[Phase Status] = "Completed","Completed",
DISTINCTCOUNT('Table'[Phase Status])=1 && 'Table'[Phase Status] = "Not Started","Not Started",
"In Progress")
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
76 | |
65 | |
52 | |
51 |
User | Count |
---|---|
127 | |
116 | |
78 | |
64 | |
63 |