Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hello!
I'm looking to have the column Vendor Name, if (blank), return the text "PREPAIDS" if column Expense Description contains the text "PREPAIDS". I would also like Vendor Name, if (blank), if Expense Description does not contain the text "PREPAIDS"/all else return "Accrual/Reclass" if it does not contain the text "Prepaids".
What is currently shown:
| Vendor Name | Expense Description |
| (blank) | PREPAIDS |
| Bob's Diner | Food |
| (blank) | Accrual |
| Super Sally's | Sports Apparel |
| (blank) | Expense Reclass |
What I would like shown:
| Vendor Name | Expense Description |
| PREPAIDS | PREPAIDS |
| Bob's Diner | Food |
| Accrual/Reclass | Accrual |
| Super Sally's | Sports Apparel |
| Accrual/Reclass | Expense Reclass |
Solved! Go to Solution.
@dtango9 , a new columns
Switch( True(),
isblank([Vendor Name]) && containsstring([Expense Description], "prepaid") , "PREPAIDS" ,
isblank([Vendor Name]), "Accrual/Reclass" ,
[Vendor Name]
)
It worked! Thank you 😀
Hi @dtango9
You can create a column with below DAX expression,
Thanks!
Inogic Professional Services Division
Power Platform and Microsoft Dynamics 365 CRM Development – All under one roof!
Drop an email at crm@inogic.com
Services: http://www.inogic.com/services/
Power Platform/Dynamics 365 CRM Tips and Tricks: http://www.inogic.com/blog/
Hi, This is what I have and it's only returning "Accrual/Reclass"...
@dtango9 , a new columns
Switch( True(),
isblank([Vendor Name]) && containsstring([Expense Description], "prepaid") , "PREPAIDS" ,
isblank([Vendor Name]), "Accrual/Reclass" ,
[Vendor Name]
)
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 48 | |
| 40 | |
| 38 | |
| 20 | |
| 16 |
| User | Count |
|---|---|
| 68 | |
| 66 | |
| 29 | |
| 26 | |
| 25 |