Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
KhrystinaM
Helper I
Helper I

Formulas

Hello, 

 

I have a dashboard with SharePoint list entries. If items are not completed by a certain time they are marked as "Not Posted" I created a measure [Not Posted = CALCULATE(COUNTROWS('Status Board'),'Status Board'[Posted]="Not Posted")]. The department leads have requested that the times not posted only calculate for the date, so instead of times not posted = 7, it would =1 for that department on that date. I'm not sure how to write a formula for this? Hopeing someone can help.

 

KhrystinaM_0-1713223237327.png

 

Thank you!!

 

1 ACCEPTED SOLUTION

Hello, I was able to get the data needed by creating a new column (combining date&department) and then creating a distinct count measure. Thank you for your assistance. 

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @KhrystinaM ,

 

Please provide test data and formulas created.

 

Best Regards,
Adamk Kong

Hello, I was able to get the data needed by creating a new column (combining date&department) and then creating a distinct count measure. Thank you for your assistance. 

Anonymous
Not applicable

Hi @KhrystinaM ,

 

Change your formula like below:

Not Posted =
CALCULATE (
    DISTINCTCOUNT ( 'Status Board'[EntryID] ),
    FILTER ( 'Status Board', 'Status Board'[Posted] = "Not Posted" ),
    ALLEXCEPT ( 'Status Board', 'Status Board'[Department], 'Status Board'[Date] )
)

vkongfanfmsft_0-1713250682192.png

 

Best Regards,
Adamk Kong

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

I tried that but it returned the same value as my current measure. 

KhrystinaM_0-1713291491071.png

Ideally these 7 entries that missed the deadline on 1/16/24 could only list show not posted count as 1 (not 7).

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.