Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello everyone! I hope you are well, i have the following problem with a data of date (in text format or date format) and the type of work, so, the date I need is the one that has the minimum value, that is, the one where no count was found (means that there was no type "S" work on that date), as shown in the following image
to better test this I made a test table like this
Date Type of work
| 3/01/2023 | M |
| 3/01/2023 | M |
| 3/01/2023 | S |
| 3/01/2023 | S |
| 2/01/2023 | M |
| 2/01/2023 | M |
| 2/01/2023 | M |
| 1/01/2023 | M |
| 1/01/2023 | S |
and i put my matrix with the data
and i tried the following meausure for this but obviously it didn't work for me
please, can you help me ?
Solved! Go to Solution.
try this @Julux12
Measure =
VAR base = tbl
VAR s =
SUMMARIZE ( FILTER ( base, [Column2] = "S" ), [Column1] )
VAR m =
SUMMARIZE ( FILTER ( base, [Column2] = "M" ), [Column1] )
VAR anti =
TOPN ( 1, EXCEPT ( m, s ), [Column1], ASC )
RETURN
MAXX ( anti, [Column1] )
try this @Julux12
Measure =
VAR base = tbl
VAR s =
SUMMARIZE ( FILTER ( base, [Column2] = "S" ), [Column1] )
VAR m =
SUMMARIZE ( FILTER ( base, [Column2] = "M" ), [Column1] )
VAR anti =
TOPN ( 1, EXCEPT ( m, s ), [Column1], ASC )
RETURN
MAXX ( anti, [Column1] )
Thank 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 |
|---|---|
| 11 | |
| 10 | |
| 6 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 26 | |
| 17 | |
| 13 | |
| 13 | |
| 9 |