cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

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
Highlighted
Super User VI
Super User VI

Re: Measures with dates

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
Highlighted

Re: Measures with dates

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!

Highlighted
Community Support
Community Support

Re: Measures with dates

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.

 

Helpful resources

Announcements

August Community Highlights

Check out a full recap of the month!

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power BI

Join us for an in-depth look at the new Power BI features and capabilities at the free Microsoft Business Applications Launch Event.

Top Solution Authors
Top Kudoed Authors