Forum Discussion

ankurbajaj07's avatar
ankurbajaj07
Icon for Helper I rankHelper I
1 year ago
Solved

Powerbi: Need column difference based on slicer selection by user

I am new to Power bi. I have tables -> calender , bi_alloceffort_data & bi_alloceffort_data_main. I Have linked calender date column to REVDATE column of bi_alloceffort_data & "PROJECTNO" of both th...
  • v-prasare's avatar
    1 year ago

    Hi ankurbajaj07,

     

    Can you update below DAX query and try one?

     

    difference =
    CALCULATE (
        SUM ( BI_ALLOCEFFORT_DATA[ST_CLGBAL] )
        - SUM ( BI_ALLOCEFFORT_DATA[ST_PREVCLGBAL] ),
        KEEPFILTERS ( BI_ALLOCEFFORT_DATA[REVDATE] )
    )

     

     

     

    Thanks,

    Prashanth