Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I'm trying to calculate an average measure for the datediff column 'Engagement Time in the service (in days)'
The calculated table is:
Solved! Go to Solution.
divide(
SUM('table'[Engagement Time in sessions]),
countrows(VALUES('Engagement Date'[client_key])
)
Since averagex ignore the blank values, can you try this.
Update:
I created a measure for total engagement days, instead of using the column for this. Calculates the same values.
I then used the dax measure to calculate an average:
divide(
SUM('table'[Engagement Time in sessions]),
countrows(VALUES('Engagement Date'[client_key])
)
Since averagex ignore the blank values, can you try this.
because I will have to write some dax code and check where the difference is coming.
can you share the pbix.
I have to look.
Why do need the file?
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 38 | |
| 36 | |
| 30 | |
| 28 |
| User | Count |
|---|---|
| 128 | |
| 88 | |
| 79 | |
| 67 | |
| 62 |