Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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
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:
----------------------------------------------
Did I answer your question? Mark my post as a solution!
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
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingCheck out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!