Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Help with DAX formula for categorization in a fact table

Hello,

 

I would appreciate help with 2 issues below, I am new to PowerBI.

1. I want to create a new column called category which would compare several columns in a fact table to categorize each Purchase order. I tried a switch code but I got the below error

 

ReckyJay_0-1611449805251.png

 

2. I want to compare the resultant Category "No GR, NO IR" to the aging of the delivery date to know if the PO is overdue. The criteria is if "No GR, No IR" > 1 day =  PO Overdue.

 

Thank you for your help.

 

 

3 REPLIES 3
rfigtree
Resolver III
Resolver III

missing ")" to end the switch function.

Anonymous
Not applicable

Thank you so much for the prompt response! I am starting to understand the importance of commas, columns, quotation marks etc. 

Anonymous
Not applicable

ReckyJay_0-1611466025085.png

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors