March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
123 | |
85 | |
85 | |
70 | |
51 |
User | Count |
---|---|
205 | |
153 | |
97 | |
79 | |
69 |