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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
I have created a calendar auto table and trying to do a stacked chart to show open vs closed items per month. I could not return the count completed item per month?
Solved! Go to Solution.
@Anonymous wrote:
Sorry, I got one problem. it is showing a high value of the blank completion item. How do I resolve it?
I'm not sure what you mean by "high value" - are you possibly saying you do not want to count rows with no completion date? If so you could just add this condition to the calculate expression.
eg.
CountClosedItemPerMonth =
CALCULATE(countrows(TABLE),
NOT( ISBLANK( TABLE[Completion Date] ) )
USERELATIONSHIP(TABLE[Completion Date],'Date'[Date])
)
Hi,
Share some data and show the expected result.
So the expression you have used will count rows that are on or after the last day of the selected period. To count rows with a closed date in the selected month you would normally either create a relationship to the closed date, then you could use a simple countrows expression. Or you could do something like the following pattern
Sorry, I got one problem. it is showing a high value of the blank completion item. How do I resolve it?
I'm using the following formula:
@Anonymous wrote:
Sorry, I got one problem. it is showing a high value of the blank completion item. How do I resolve it?
I'm not sure what you mean by "high value" - are you possibly saying you do not want to count rows with no completion date? If so you could just add this condition to the calculate expression.
eg.
CountClosedItemPerMonth =
CALCULATE(countrows(TABLE),
NOT( ISBLANK( TABLE[Completion Date] ) )
USERELATIONSHIP(TABLE[Completion Date],'Date'[Date])
)
This is perfect! Exactly what I want. Thank you very much!
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 |
|---|---|
| 52 | |
| 50 | |
| 34 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 92 | |
| 77 | |
| 41 | |
| 26 | |
| 25 |