Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi Experts,
I am using below measure to count the yesterday values based on the required criteria (Filter) which is working fine.
TC = CALCULATE (COUNT (FACT_noav[Date]),
FILTER(FACT_noav,FACT_noav[Rank]<>"CK"),FACT_noav[Date]-TODAY()-1,
FACT_noav(Main_Cat]="Sickness"
||FACT_noav[Main Cat]="Locp"
||FACT_noav[Main_Cat]-"Others"
||FACT_noav[Main_Cat]="SIDL"
Now i have additional requirment and i want to calculate the Average Monthly count based on the above criteria which in used in above measure.
Below data model for information.
Appreciate your guidance.
Hi,
Share some data, explain the question and show the expected result.
hi @Enan ,
try this
var existingoutput = IF( isblank(TC),0,TC)
var _avgmonthly =
Averagex( Values (DateTable[MonthColumn]),
existingoutput
)
return
_avgmonthly
essentially, wrap the measure in averagex over the values of the month, and calulcate the expression you need.
reference: (12) Calculate Average Per Day / Month / Year In Power BI Using DAX - YouTube
if this doesn't resolve the issue, please share sample input data removing sensitive information
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 51 | |
| 40 | |
| 37 | |
| 14 | |
| 14 |
| User | Count |
|---|---|
| 85 | |
| 69 | |
| 38 | |
| 29 | |
| 27 |