Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
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")
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
94 | |
84 | |
83 | |
72 | |
49 |
User | Count |
---|---|
143 | |
130 | |
108 | |
64 | |
55 |