Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Vanessa250919
Helper V
Helper V

Placeholder issue

 Hello, I have this issue in PBI and I don't understand why ?

tes2 = CALCULATE(DISTINCTCOUNT(V_PBI_EOY[DATE_YYYYMMDD]),KEEPFILTERS([#DELTA_ORG_ACTUALS_METHOD_1] > [#DELTA_ORG_ACTUALS] || [#DELTA_ORG_ACTUALS_METHOD_1] > 1.149))

Someone can help me ?

Thank you

 



1 ACCEPTED SOLUTION
ValtteriN
Super User
Super User

Hi,

The issue is caused likely by this part of your DAX: 

tes2 = CALCULATE(DISTINCTCOUNT(V_PBI_EOY[DATE_YYYYMMDD]),KEEPFILTERS([#DELTA_ORG_ACTUALS_METHOD_1] > [#DELTA_ORG_ACTUALS] || [#DELTA_ORG_ACTUALS_METHOD_1] > 1.149))

Try placing it into a variable:

tes2 =
var _test = [#DELTA_ORG_ACTUALS_METHOD_1] > 1.149 return
CALCULATE(DISTINCTCOUNT(V_PBI_EOY[DATE_YYYYMMDD]),KEEPFILTERS([#DELTA_ORG_ACTUALS_METHOD_1] > [#DELTA_ORG_ACTUALS] || _test))


Example with test data:

ValtteriN_0-1668586746401.png

 

ValtteriN_1-1668586788097.png


I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!

My LinkedIn: https://www.linkedin.com/in/n%C3%A4ttiahov-00001/







Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

2 REPLIES 2
ValtteriN
Super User
Super User

Hi,

The issue is caused likely by this part of your DAX: 

tes2 = CALCULATE(DISTINCTCOUNT(V_PBI_EOY[DATE_YYYYMMDD]),KEEPFILTERS([#DELTA_ORG_ACTUALS_METHOD_1] > [#DELTA_ORG_ACTUALS] || [#DELTA_ORG_ACTUALS_METHOD_1] > 1.149))

Try placing it into a variable:

tes2 =
var _test = [#DELTA_ORG_ACTUALS_METHOD_1] > 1.149 return
CALCULATE(DISTINCTCOUNT(V_PBI_EOY[DATE_YYYYMMDD]),KEEPFILTERS([#DELTA_ORG_ACTUALS_METHOD_1] > [#DELTA_ORG_ACTUALS] || _test))


Example with test data:

ValtteriN_0-1668586746401.png

 

ValtteriN_1-1668586788097.png


I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!

My LinkedIn: https://www.linkedin.com/in/n%C3%A4ttiahov-00001/







Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




If [#DELTA_ORG_ACTUALS_METHOD_1] is a measure, then the first condition will be problematic too.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.