Forum Discussion

OZMckenzie's avatar
OZMckenzie
Helper I
6 years ago
Solved

Dynamic target

Hello, 

 

Looking for great advice here...

I'd like to set up dynamic target to a KPI card, the target value list as below.  In Biz Unit "B", 3 items are further divided respectively. The column of item remain blank represents the "overall" target of the biz unit. 

 

I'd like to set up slicer for "year", "Business Unit" and "items" in the report:

  • If I select year "2020", Biz Unit "B", I hope the target would show "5030";
  • If I select "2020", Biz Unit "B", and item"Food", I hope the target would show "4651";

Please advise how I should write a DAX to fultill this?

Any suggestion or comment is appreciated, thanks in advance!!

 

YearBusiness UnitItemsTarget
2020A 21573
2020B 5030
2019A 23971
2019B 5589
2020BFood4651
2020BFlower5033
2020BDrink8663
2019BFood5592
2019BFlower5167
2019BDrink9625

4 Replies