Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
After a bit of help if possible.
I have a field which looks a bit like this in a very simple way.
Category || Date + Time .
Item 1 11/11/2022 18:00:76
Item 2 11/11/2022 21:08:67
Comparison Time to compare to.
Item 1 19:00:00
Item 2 21:00:00
The logic I am looking is to add the current date to the fixed time and compare the items to see if before or after.
So in the example above Item 1 would be Before and Item 2 would be After.
The issue is that the data comes from a model so I cannot add any tables or colums to the data so have to do it in a measure instead.
TIA
Andy
Solved! Go to Solution.
Hi @Spudduk ,
Please use below code for create measure :
Appreciate your Kudos and Please mark it as a solution if it helps you.
Hi @Spudduk ,
Please use below code for create measure :
Appreciate your Kudos and Please mark it as a solution if it helps you.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
106 | |
94 | |
77 | |
65 | |
53 |
User | Count |
---|---|
145 | |
105 | |
104 | |
90 | |
63 |