Forum Discussion

nedian_bilal's avatar
nedian_bilal
Frequent Visitor
3 years ago
Solved

Dynamic percent Change in Guage Chart using Subtotals

Dear All,   I have a project with 4 major different locations. I have 3 types of Slicer to filter my data as shown in the figure. I have only 1 value column named "WTG" in my data table whose total...
  • nedian_bilal's avatar
    3 years ago

    I have solved this problem myself... however posting it here for others who are seeking similar type of issue...
    1st I created 2 New Measures

    # 1

    Plan % = CALCULATE(SUM(P_Values[WTG]),Filter(ALL(Dates),Dates[Date] <= MAX(Dates[Date])))
     
    #2
    WTG total for WBS_Code_2 =
    CALCULATE(SUM('Activities'[WTG]), ALLSELECTED('Activities'[WBS_Code_2]))
     
    #3
    Divide these 2 measure and got the result...