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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
mafioso
Helper II
Helper II

DAX - If syntax error

Hey,

 

my if's syntax looks like that:

 

KSt = IF(RELATED('KST'[Nr] > 0), RELATED('KST'[Nr])&"_"&RELATED('KST'[Cost]))

 

What's wrong here? It might be easy to solve but I can't figure out the answer.

1 ACCEPTED SOLUTION
mafioso
Helper II
Helper II

Ok apart from the syntax of my statement I had to use instead of ,

View solution in original post

1 REPLY 1
mafioso
Helper II
Helper II

Ok apart from the syntax of my statement I had to use instead of ,

Helpful resources

Announcements
FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.