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
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Top Solution Authors