Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 216485

DAX issue with date filters

$
0
0

DueTimeTableDueTimeTable

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

I’m trying to assign a DueTimeBucket value to a list of times using the table I created above.

 

To assign a bucket to each time I run this DAX…

DueTimeBucket = CALCULATE(VALUES(DueTimeBucket[DueTimeBucket]),FILTER(DueTimeBucket,U_DIM_LM_QUIZ[ACDTDueTime]>=DueTimeBucket[Min] && U_DIM_LM_QUIZ[ACDTDueTime]<DueTimeBucket[Max]))

 

But get this error message….

 

“A table of multiple values was supplied where a single value was expected.”

 

The ACDTDueTime column has a time data type, as has the Min and Max columns in the DueTimeBucket table.

 

Can anyone see where I might be going wrong?

 

Thank you in advance.

 

DHB


Viewing all articles
Browse latest Browse all 216485

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>