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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

Power BI desktop issue

Hi

 

I am experiencing a weird issue with my PowerBI desktop.

Everytime i click on the column wiht a DAX code - it causes a break.

Tested on other PowerBI desktops and it works fine.

I also uninstalled and went back to version 2.65.5313.131

 

 

same problem.

 

error after click on code.JPG

1 ACCEPTED SOLUTION
Anonymous
Not applicable

found the solution - had to add additional brackets before the IF and after

IF(NumberOfSelectedDays=1, "", CONCATENATEX(AllButLastSelectedDay,'DimDate'[EnglishDayNameOfWeek], ", ") & " And ") & LastSelectedDay)

 

to

 

IF((NumberOfSelectedDays=1), "", CONCATENATEX(AllButLastSelectedDay,'DimDate'[EnglishDayNameOfWeek], ", ") & " And ") & LastSelectedDay)

View solution in original post

1 REPLY 1
Anonymous
Not applicable

found the solution - had to add additional brackets before the IF and after

IF(NumberOfSelectedDays=1, "", CONCATENATEX(AllButLastSelectedDay,'DimDate'[EnglishDayNameOfWeek], ", ") & " And ") & LastSelectedDay)

 

to

 

IF((NumberOfSelectedDays=1), "", CONCATENATEX(AllButLastSelectedDay,'DimDate'[EnglishDayNameOfWeek], ", ") & " And ") & LastSelectedDay)

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.