Forum Discussion

dvnnnaidu's avatar
dvnnnaidu
Icon for Helper II rankHelper II
6 years ago
Solved

Need help on Performance of DAX formula

Hi, I am trying to find out No. of orders which stayed with a particular department during the order life cycle.   For this we have data which shows Start Date and End Date of Order with each depa...
  • Greg_Deckler's avatar
    Greg_Deckler
    6 years ago

    dvnnnaidu - I have updated the PBIX to return the same results that you had in your original visual. It is on Page 3 of the updated PBIX attached. I have run tests and this visual renders in right around 1 minute and I don't have the worlds greatest laptop. Hopefully your results are similar. If so, that is a reduction in rendering time by 20 or 30 times.

     

     

  • Greg_Deckler's avatar
    Greg_Deckler
    6 years ago

    dvnnnaidu - OK, because I love this stuff, I took a shot at reversing your logic. I added a Page 4. Using the reverse of your original logic, I seem to have been able to get the exact same results and knock about 25% off of the rendering time. It now renders in about 40 seconds at least on my machine. Update PBIX is attached.