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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
jaguilarc7
Frequent Visitor

Only subtract when there is a minuend / Sólo restar cuando exista minuendo

Good afternoon, I currently have the measurement: difference M = [unetas M] - [forecast M] But my problem is that if [unetas M] do not exist, the result is always the negative of [forecast M], and I would need that if [unetas M] (minuend) does not exist, the difference measure M is BLANK. Thanks and greetings from a beginner.

 

/

 

Buenas tardes, actualmente tengo la medida: diference M = [unetas M] - [forecast M] 

Pero mi problema es que si no existen [unetas M], el resultado siempre es el negativo de [forecast M], y necesitaría que si no existe [unetas M] (minuendo), la medida diferencia M sea BLANK.

 

Gracias y saludos de un principiante.

 

1 ACCEPTED SOLUTION
Fowmy
Super User
Super User

@jaguilarc7 

Modify your measure as

M = IF( ISBLANK([unetas M]), BLANK(),[unetas M] - [forecast M])

________________________

If my answer was helpful, please consider Accept it as the solution to help the other members find it

Click on the Thumbs-Up icon if you like this reply 🙂

YouTube  LinkedIn 

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

View solution in original post

2 REPLIES 2
Fowmy
Super User
Super User

@jaguilarc7 

Modify your measure as

M = IF( ISBLANK([unetas M]), BLANK(),[unetas M] - [forecast M])

________________________

If my answer was helpful, please consider Accept it as the solution to help the other members find it

Click on the Thumbs-Up icon if you like this reply 🙂

YouTube  LinkedIn 

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Thx!!!!

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors