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
Solved! Go to Solution.
you can replace SUM ( 'Table'[Number of obs] ) with any already existing measure
Hi, @Anonymous,
in insituations where you can't share or show any data, it is usually a good idea to create a mockup dataset/report which resembles your data. If you provide sample data, your questions will be very quickly replied.
For you problem here I have created a small mockup report:
mockup report
with the measure written like this:
average number of obs =
DIVIDE (
SUM ( 'Table'[Number of obs] ),
CALCULATE (
COUNT ( 'Table'[Observation date] ),
FILTER ( 'Table', 'Table'[Number of obs] > 0 )
)
)
cheers,
Sturla
Hi,
Thanks so much for this, seems to be on the right track. However, the number of observations is itself a measure, so I cannot insert it into the sum function. Would I use values maybe to get the sum by date?
Thanks,
Kelly
you can replace SUM ( 'Table'[Number of obs] ) with any already existing measure
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 |