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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors