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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
Syndicate_Admin
Administrator
Administrator

User cannot display IF function Then Else

Hello

I have tried everything, update the power bi, change the locale, the language, the time and even so in the functions of the Dax in custom column these functions still do not appear, I appreciate a guide.

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Syndicate_Admin , In a dax column if should work like

new column = if([col A] =3, "A", "B")

 

 

If then else works in power query

 

The information you have provided is not making the problem clear to me. Can you please explain with an example.

Appreciate your Kudos.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
Adamboer
Responsive Resident
Responsive Resident

If you have tried changing the locale, language, and time settings in Power BI Desktop and are still not able to access certain DAX functions in the custom column, there are a few other things you can try:

  1. Check the version of Power BI Desktop you are using. Make sure you are using the latest version available.

  2. Check if the function you are trying to use is available in the version of Power BI Desktop you are using. Some functions are only available in certain versions.

  3. Check if you have the necessary permissions to use the function. Certain functions may require administrative permissions.

  4. Try reinstalling Power BI Desktop. Uninstall the current version and then download and install the latest version available.

If none of the above solutions work, it is possible that the function you are trying to use is not supported in Power BI Desktop. In that case, you can try using a different function or consider using a different tool that supports the function you need.

amitchandak
Super User
Super User

@Syndicate_Admin , In a dax column if should work like

new column = if([col A] =3, "A", "B")

 

 

If then else works in power query

 

The information you have provided is not making the problem clear to me. Can you please explain with an example.

Appreciate your Kudos.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.