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
Hello All, I am trying to write a measure that goes thus
Solved! Go to Solution.
Hi @odada11 ,
Are you making it a calculated column? Try this and amend table name etc to fit your need...😎
State Groups = SWITCH(
TRUE(),
'Table'[Crossystate] = "unreconciled", "Unreconciled",
'Table'[Crossystate] = "paid", "Invoiced",
'Table'[Crossystate] = "approved", "Invoiced",
'Table'[Crossystate] = "unpaid", "NotPaid",
"Pending"
)
Many Thanks,
Taylor
LinkedIn: www.linkedin.com/in/taylordownes10 😊
Hi @odada11 ,
Try this...😎
New Calculated Column = SWITCH(
TRUE(),
[Crossystate]="Unreconciled", "Unreconciled",
[crossystate]="paid", "Invoiced",
[crossystate]="Approved", "Invoiced",
[crossystate]="unpaid", "Notpaid",
"Pending"
)
Many thanks,
Taylor
Thank you so much
i tried it and it returned this error
Hi @odada11 ,
Are you making it a calculated column? Try this and amend table name etc to fit your need...😎
State Groups = SWITCH(
TRUE(),
'Table'[Crossystate] = "unreconciled", "Unreconciled",
'Table'[Crossystate] = "paid", "Invoiced",
'Table'[Crossystate] = "approved", "Invoiced",
'Table'[Crossystate] = "unpaid", "NotPaid",
"Pending"
)
Many Thanks,
Taylor
LinkedIn: www.linkedin.com/in/taylordownes10 😊
Thank you so much for your help, is there a way i can make all the "invoiced" appear as one in a drop down filter rather than have several Invoiced.
Really grateful for your help
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 |
---|---|
122 | |
89 | |
75 | |
55 | |
45 |
User | Count |
---|---|
134 | |
120 | |
76 | |
65 | |
64 |