cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

LOD calculation in DAX

Hi, Please help me to convert the following Tableau calculation in DAX.

 

IF { FIXED [Student Id]:SUM(IF CONTAINS([XYZ],'FGEN') THEN 1 ELSE 0 END)} > 0 THEN 'First Gen' ELSE 'Non-First Gen' END

 

 

Thank you!

1 REPLY 1
v-jingzhang
Community Support
Community Support

Hi @Anonymous 

 

Can you please provide some dummy data to explain the expected result you want to have? I don't have experience in Tableau so some sample data and expected output would help me understand it better. And do you want to add a new column in an existing table? 

 

Best Regards,
Community Support Team _ Jing

Helpful resources

Announcements
Winner of T-Shirt Design

Power BI T-Shirt Design Challenge 2023

Find out who won the T-Shirt Design Challenge and the top 3 finalists.

March 2023 Update3

Power BI March 2023 Update

Find out more about the March 2023 update.