The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
I have a time stamp column needs to be compared logically if it falls below or above certain time. when I use DAX fucntion, I get data type mismatch error as "DAX comparison operations do not support comparing values of type Date with values of type Text. Consider using the VALUE or FORMAT function to convert one of the values"
The function is:
Solved! Go to Solution.
You can use the TIME function to create a time value in DAX. Here is how you can modify your function:
Query1[Del_Time] < TIME(10, 0, 0)
Proud to be a Super User! |
|
Thank you, that worked!
You can use the TIME function to create a time value in DAX. Here is how you can modify your function:
Query1[Del_Time] < TIME(10, 0, 0)
Proud to be a Super User! |
|
User | Count |
---|---|
25 | |
10 | |
8 | |
7 | |
6 |
User | Count |
---|---|
32 | |
12 | |
10 | |
10 | |
9 |