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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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.

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.

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.

Top Kudoed Authors