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
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 @Anonymous ,
Please use below code for create measure :
Appreciate your Kudos and Please mark it as a solution if it helps you.
Hi @Anonymous ,
Please use below code for create measure :
Appreciate your Kudos and Please mark it as a solution if it helps you.
Check 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!
| User | Count |
|---|---|
| 97 | |
| 76 | |
| 52 | |
| 51 | |
| 46 |