Forum Discussion

HC-AutomateUser's avatar
HC-AutomateUser
New Member
4 years ago
Solved

DAX makes me crazy : CONVERT

Good evening CET !   You cannot see it but I am crying right now. I am 49, has almost developped anything since 35 years, but today... Today... I am about to jump from the 2nd floor (you know : not...
  • HC-AutomateUser's avatar
    HC-AutomateUser
    4 years ago

    Hello again 🙂

    Finally I made all work this morning at 4AM (CET). The

    "attribute" = CONVERT(column, STRING)

    has been replaced by a

    "attribute" = column & ""

    ...Something I use to do when I do not have the choice to use a var typed variable. Not clean but it works.

    I had a second issue coming from 2 other columns (one in each SharePoint list) that are search typed, with the same source. As I explained, it works until I edit the DAX script but I needed to change something in it, so I took 2 attributes with a different name (instead of the same one to be taken into account by the NATURALLEFTOUTERJOIN), and I added a FILTER on [attribute1] = [attribute2].

     

    Now I can finish the v2 of my dashboards.

    Many thanks, again, for your advice about Power Query. Be sure this is something I will work on once the reports will be published (even if I do not eat caviar anymore since I discovered the female fishs were opened alive to get the eggs, then thrown back into the sea still alive but dying, thanks to humanity) !

     

    Thanks again !

     

    B.R.

     

    Eric