Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

CALCULATE and FILTER With Text column

Hi all,   I am quite new to DAX after mainly working with excel and I am struggling to get my head around something where the logic to me is sound.   minutesPercent = DIVIDE( ...
  • Anonymous's avatar
    Anonymous
    7 years ago

    Hi,

     

    Thanks for coming back to me - I think I must have not explained this very well as I managed to solve it with this:

    minutesPercent = DIVIDE(
                        'bio agentStatus'[durationTotal],
                        CALCULATE(SUM('bio agentStatus'[statusDuration]),ALL('bio agentStatus'[bio status.description (groups)]))
                        ,0)