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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
sparkplug93751
Helper II
Helper II

Measures with dates

Hello,

 

I have a date control for Week Ending dates. Using this date control I have 2 measures I'm graphing against it:

 

One uses an actual date and appears corrects (calculate(countrows(table),table[actual]<>blank

Measure 2 with the issues is (calculate(countrows(table),table[target]<>blank

 

The second measure is adding the values in the last week twice, how can this be worked around? WIll supply data shortly

 

3 REPLIES 3
dax
Community Support
Community Support

Hi @sparkplug93751 , 

 

I am not clear about your requirement, if possible could you please inform me more detailed information(such as your expected output and your sample data (by OneDrive for Business))? Then I will help you more correctly.

Please do mask sensitive data before uploading.

Thanks for your understanding and support.
Best Regards,
Zoe Zhi

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

 

Hello SparkPlug,

 

Did you try to use DistinctCountNoBlank function?

 

Hope this measure help you:

Measure 2 = DISTINCTCOUNTNOBLANK(table[target])
 
Please provide extra information if that measure did not help you.
Best wishes 🙂
 

----------------------------------------------

Did I answer your question? Mark my post as a solution!

edhans
Super User
Super User

How to get good help fast. Help us help you.
How to Get Your Question Answered Quickly
How to provide sample data in the Power BI Forum



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors