Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
hi i want to counting rows on the date column where the time > 5:30 pm how can do that
Hi @waleed55 ,
Here are the steps you can follow:
1. Create measure.
Flag =
IF(
MAX('Table'[Column1]) >
DATE(YEAR(MAX('Table'[Column1])),MONTH(MAX('Table'[Column1])),DAY(MAX('Table'[Column1]))) + TIME(17,30,0),1,0)
Count =
COUNTX(
ALLSELECTED('Table'),[Flag])
2. Place [Flag]in Filters, set is=1, apply filter.
3. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
hi i don't want to create a new column i want to create measure only
@waleed55 So maybe something like this:
Column 2 =
VAR __530 = 1/24/2 * ( 17.5 * 2 )
VAR __Value = [Column]
VAR __Result = IF( __Value >= __530, 1, 0)
RETURN
__Result
User | Count |
---|---|
80 | |
74 | |
62 | |
61 | |
46 |
User | Count |
---|---|
109 | |
95 | |
86 | |
79 | |
61 |