Forum Discussion

Elglouton's avatar
Elglouton
Regular Visitor
2 years ago
Solved

Selected value on Dax in switch

Hello,   I use the value captured by the Selectedvalue function as a variable to perform standard calculations, it works perfectly, but I wanted to embed it in a switch and the function returned th...
  • Wilson_'s avatar
    Wilson_
    2 years ago

    Elglouton,

     

    Ah, it looks like the issue is you added it as a calculated column. It should be a measure.


    ----------------------------------
    If this post helps, please consider accepting it as the solution to help other members find it quickly. Also, don't forget to hit that thumbs up and subscribe! (Oh, uh, wrong platform?)

     

    P.S. Need a more in-depth consultation for your Power BI data modeling or DAX issues? Feel free to hire me on Upwork or DM me directly on here! I would love to clear up your Power BI headaches.

  • Elglouton's avatar
    Elglouton
    2 years ago

    Hello,

    Halala, in fact, it was that simple.

    I didn't think I could make a graph with a measure because for me it's a unique value.

    Sorry for the time you spent on this topic and thanks again