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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric 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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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

Top Kudoed Authors