Forum Discussion

o59393's avatar
o59393
Icon for Post Prodigy rankPost Prodigy
6 years ago
Solved

Summarize various calculate functions into one

Hi all   I created 8  dax function that returns the count of ocassions the "Government time" is within:   0 - 30 days 30 - 60 days 60 - 90 days 90 - 120 days 120 - 150 days 150 - 180 days 1...
  • az38's avatar
    6 years ago

    Hi 

    o59393

     try this file https://ufile.io/whlx43iq 

    I added dimension table dimIntervals with all possible intervals and a calculated column in your table

     

    Interval = calculate(FIRSTNONBLANK(dimIntervals[Label];1); FILTER(ALL(dimIntervals); dimIntervals[MinPeriod] < 'Sanitary Registration Mass Report'[Cycle Time (Process)] && dimIntervals[MaxPeriod]>='Sanitary Registration Mass Report'[Cycle Time (Process)]) ) ​

    do not hesitate to give a kudo to useful posts and mark solutions as solution

    LinkedIn

     

     

  • Ashish_Mathur's avatar
    Ashish_Mathur
    6 years ago

    You are welcome.  If my previous reply helped, please mark that as Answer.

    ABCD is just the title of the column.  You may give any meaningful title within the double quotes.