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! Learn more
How do I go about creating a column which counts 1 if the date is less than 7 days, and 0 if its beyond 7 days?
Hi @Ron_Orc ,
Try this measure:
Measure=
Var Days= DAY(SELECTEDVALUE(Table[Date]))
Return IF(Days <7,1,0)
Mark this as a solution, if I answered your question. Kudos are always appreciated
Thanks
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 22 | |
| 12 | |
| 10 | |
| 10 | |
| 9 |