Forum Discussion
Help with Dax Formula - Average Hours Per Week Visual Assistance
- 5 years ago
Power bi reports are treated case by case, so maybe a sample Pbix would be a better idea so i can work on it and help you understand.
But I'd like it to show 'all weeks' from 'all sessions' as well to display the overall average from the time that we started this, but is there a way to write the formula to show that when they are all checked?
Embed your formula into a CALCULATE function and filter out the blank rows.
- ianallen135 years agoHelper I
I'm still learning - how would that look?
- aj19735 years agoCommunity Champion
Here is a quick example:
As you can see the 74 Blank rows are not included in the calculation of number of days.
do the same for your avarage formula where ever is neccessary.
- ianallen135 years agoHelper I
I do not have any blank lines, as when each session is selected by itself - it works correctly - but when all sessions are selected (along with all weeks), I want it to show the average of all sessions.
Sorry if I am not understanding correctly?