Forum Discussion

Neha12's avatar
Neha12
Frequent Visitor
3 years ago

To map different measures to single value

Hi Everyone,

 

I have got stuck in one power bi scenario.

I have shared the pic of how I want the table to look like in power bi

So here I want to create overall col, that should get mapped with vol and Invol measures.

I have created 4 different measures 

Say suppose, vol for ytd jan ,Invol for ytd jan

vol for fy closing and Invol for fy closing.

How to Map these four measures with overall col values( ytd(jan) and Fy closing)

Please help

amitchandak , Sahir_Maharaj, tamerj1 , Greg_Deckler , FreemanZ 

Thank you

 

4 Replies

  • tamerj1's avatar
    tamerj1
    Community Champion

    Hi Neha12 

    hope you're doing fine. 
    I think you need to clearly describe your problem. Present sample of the original data, indicate the tables you have and present the expected results. 

  • I think you have to share the underlaying data, in best case your PBI File.

    • Neha12's avatar
      Neha12
      Frequent Visitor

      Was thinking if switch statement would work

      Column = Switch(true(),

      Vol ytd jan & Invol ytd jan<> blank ,"ytd jan",

      Vol FY closing & vol Fy closing <> blank, "Fy Closing")