Forum Discussion

rsomoza's avatar
rsomoza
Regular Visitor
8 years ago

Get value from cell based on its row and column combination

Hey guys

I’d much appreciate your help on this, as I’m new on PowerBI.

 

I’d like to have the option to compare the same two metrics depending on the column combination. I have created a very simple example in excel…

 

 

So basically, I want to obtain for each area (row) the value from “season 1.value Y”, and also get the value from “season 2.Value Y” and be able to later compare them with a visualization that allows me to set a target and an actual value, being in this case my target “season 1.value Y” and my actual “season 2.Value Y”

 

Value Y es one value, the same that repeats depending on the season.

 

Is it possible to get the value from a particular "cell" and then use it later? Let me know if you need further clarification!

Thanks!!!

7 Replies

  • Greg_Deckler's avatar
    Greg_Deckler
    Icon for Community Champion rankCommunity Champion

    So, what you want to do is get your data in a format like this:

     

    Area,Season,Value X,ValueY

    area1,season1,1,1

    area1,season2,3,2

    area2,season1,2,2

    area2,season2,2,3

    area3,season1,1,1

    area3,season2,1,2

     

     

    • rsomoza's avatar
      rsomoza
      Regular Visitor

      Hi smoupre

       

      Yes I need a way to get the values based on the season and the area. So I can compare, for example the value Y result "1" from the first row with the value Y restult "2" from the second row...and later use the value to compare or visualize if the second one is higher, lower or same....

       

      row1: area1,season1,1,1

      row2:  area1,season2,3,2

       

      :) Is there a way?

      • rsomoza's avatar
        rsomoza
        Regular Visitor

         

         

        Any ideas? is it possible to handle values like this in Power BI??

         

        Cheers!!