Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
I know this is easy for you guys but my formula could not seem to work. If you can please help me on the formula in red font
RESULT =
SWITCH(TRUE(),
'Table'[Type]="Series",'Table'[Grade_ Assignment],
'Table'[Type]="Movie" && ISBLANK('Table'[Adviser]) && 'Table'[Title]="Beauty & the Beast",'Table'[Grade_ Assignment],
'Table'[Adviser]
)
Here is my desired result:
Hoping for any assistance. Thank you in advance
Solved! Go to Solution.
Hey @summer18 ,
I think the logic was missing a few parts, but that here should work:
RESULT =
SWITCH(
TRUE(),
'Table'[Type] = "Series",'Table'[Grade_ Assignment],
'Table'[Type] = "Movie" && (ISBLANK('Table'[Adviser]) || 'Table'[Adviser] = "") && 'Table'[Title]="Beauty & the Beast",'Table'[Grade_ Assignment],
'Table'[Type] = "Songs" && (ISBLANK('Table'[Adviser]) || 'Table'[Adviser] = "") , 'Table'[Grade_ Assignment],
'Table'[Type] = "Songs", 'Table'[Adviser],
'Table'[Adviser]
)
For the next time, please paste a table and not a screenshot of the table. I had to type the whole table by hand now to check the formula...
Hey @summer18 ,
I think the logic was missing a few parts, but that here should work:
RESULT =
SWITCH(
TRUE(),
'Table'[Type] = "Series",'Table'[Grade_ Assignment],
'Table'[Type] = "Movie" && (ISBLANK('Table'[Adviser]) || 'Table'[Adviser] = "") && 'Table'[Title]="Beauty & the Beast",'Table'[Grade_ Assignment],
'Table'[Type] = "Songs" && (ISBLANK('Table'[Adviser]) || 'Table'[Adviser] = "") , 'Table'[Grade_ Assignment],
'Table'[Type] = "Songs", 'Table'[Adviser],
'Table'[Adviser]
)
For the next time, please paste a table and not a screenshot of the table. I had to type the whole table by hand now to check the formula...
Hi @selimovd , thank you very much! It works! Sorry for pasting the screenshot of the table. I could not see where I can attach my pbix.
Hey @summer18 ,
no problem, I'm happy it works 😊
Yes, that's a little bit the problem in this forum, you cannot attach a PBIX file. But you could upload it to OneDrive, Dropbox, SwissTransfer or something similar and post the link.
But you can always post the table as a html table, then I can just paste the values to my PBIX file:
Best regards
Denis
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.