Forum Discussion

niceday123's avatar
niceday123
Frequent Visitor
6 years ago
Solved

Display data + measure in the same vizualisation

Hi,   I have the following data :   Table1 : Forecast Table2 : Objective I'd like my vizualisation to show that :   Any help will be very much appreciated. Many thanks.
  • Anonymous's avatar
    Anonymous
    6 years ago

    Hi niceday123 ,

     

    Measure = 
    var a = CALCULATE(SUM(Objective[Sales Objective]),FILTER(Objective,Objective[Name]=SELECTEDVALUE(Forecast[Name])))
    var b = CALCULATE(SUM(Forecast[Sales Forecast]),ALLEXCEPT(Forecast,Forecast[Name],Forecast[Place],Forecast[Month]))
    return
    a-b

    Can't hide but you can change the font color to white under Format -> Field formatting

     

    Best Regards,

    Jay

    Community Support Team _ Jay Wang

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.