Forum Discussion
niceday123
6 years agoFrequent Visitor
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.
- Anonymous6 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-bCan'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.
Anonymous
6 years agoNot applicable
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-bCan'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.
niceday123
6 years agoFrequent Visitor
Hi Anonymous ,
Thank you, very helpful !
My last concern is about the total of the column measure which I would like to show the sum of the bold values in the column (i.e. in Jan : 0 + (-1000) + 1000 = 0 )
Thanks