Forum Discussion
Dax Measure Performance
Hi vickyprudhvi
If you run the measures seperately do they run quickly?
I have not experienced any performance issues when using the Dynamic Measures before (Mostly been done where the data was imported into the Power BI Desktop file)
- vickyprudhvi8 years agoHelper IV
If I use this measure against 8k rows it is fast but wen I use this measure against 20Mill it is very slow.
- Greg_Deckler8 years agoCommunity Champion
Are you certain that it is this SWITCH statement that is running slow versus the actual measures that are being displayed. I think that was what GilbertQ was asking. I tend to agree with him, my suspicion would be that a simple SWITCH statement shouldn't slow things down.
- GilbertQ8 years agoSuper User
Hi vickyprudhvi
That would indicate that the measure is not as fast as it could be. I would suggest looking at ways to improve the measure so that it returns the data faster.
Once that is done, then I am sure that the SWITCH measure would work well.- vickyprudhvi8 years agoHelper IV
GilbertQ and Greg_Deckler
Sorry - Measure I meant here is Switch case measure.
all the measures used in the switch case are simple sum() and countrows.
independently all measures work pretty good.
I am using the switch case measure across a time period for a year (Trending Chart).