Forum Discussion
cottrera
Post Prodigy
6 years agoDAX Switch Help
Hi hopefully I explain this correctly I have a table of completed property repairs in my report. I have used DAX to perform a simple count of these completed repairs (Repairs = COUNTROWS(Repair...
- 6 years ago
Hi yes
I was over complicating things and realised that I done need to switch/ look up a choice of many differenct percentages to apply to my table. In fact I only need to apply a choice of two percentages depending on my count results. See below.
Calc Targets = IF(AND([Comp Repairs]>=1,[Comp Repairs]<=10),"0.05")&IF(AND([Comp Repairs]>=10,[Comp Repairs]<=40),"0.1")
AllisonKennedy
Community Champion
6 years agocottrera Awesome! Glad you resolved this. Please can you post what you did so we can all learn? Then you can mark it as the solution.
Cheers!
Cheers!
cottrera
Post Prodigy
6 years agoHi yes
I was over complicating things and realised that I done need to switch/ look up a choice of many differenct percentages to apply to my table. In fact I only need to apply a choice of two percentages depending on my count results. See below.
Calc Targets = IF(AND([Comp Repairs]>=1,[Comp Repairs]<=10),"0.05")&IF(AND([Comp Repairs]>=10,[Comp Repairs]<=40),"0.1")