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 am quite new to power bi and im facing an issue when im creating new measure , this is my DAX formula
Solved! Go to Solution.
Is this what you meant?
Completion =
IF(
AND(
VALUES(Master[Start Date].[Date]) <= VALUES(Master[Jan-24]),
VALUES(Master[End Date].[Date]) >= VALUES(Master[Jan-24])
),
TRUE,
FALSE
)
When using AND(), a comma is used to separate the 2 clauses instead of &&. It could also be written as:
Completion =
IF(
VALUES(Master[Start Date].[Date]) <= VALUES(Master[Jan-24])
&& VALUES(Master[End Date].[Date]) >= VALUES(Master[Jan-24]),
TRUE,
FALSE
)
(I didn't try to fix anything else.)
Hi @butterscotch
Adding to @gmsamborn
Use simple && in DAX
Completion =
IF(
VALUES(Master[Start Date].[Date]) <= VALUES(Master[Jan-24]) &&
VALUES(Master[End Date].[Date]) >= VALUES(Master[Jan-24]),
TRUE,
FALSE
)
Proud to be a Super User! | |
Thank you guys, it helps to resolve the issue by adding VALUES()
Hi @butterscotch
Adding to @gmsamborn
Use simple && in DAX
Completion =
IF(
VALUES(Master[Start Date].[Date]) <= VALUES(Master[Jan-24]) &&
VALUES(Master[End Date].[Date]) >= VALUES(Master[Jan-24]),
TRUE,
FALSE
)
Proud to be a Super User! | |
Is this what you meant?
Completion =
IF(
AND(
VALUES(Master[Start Date].[Date]) <= VALUES(Master[Jan-24]),
VALUES(Master[End Date].[Date]) >= VALUES(Master[Jan-24])
),
TRUE,
FALSE
)
When using AND(), a comma is used to separate the 2 clauses instead of &&. It could also be written as:
Completion =
IF(
VALUES(Master[Start Date].[Date]) <= VALUES(Master[Jan-24])
&& VALUES(Master[End Date].[Date]) >= VALUES(Master[Jan-24]),
TRUE,
FALSE
)
(I didn't try to fix anything else.)
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 |
|---|---|
| 103 | |
| 80 | |
| 62 | |
| 51 | |
| 45 |