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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

Reply
SebSchoon1
Post Patron
Post Patron

wrong measure result

Hi guys,

 

I do a measure Asking if  The value in a column is equal to 2 and it only send information for some data not all.

 

here is my formula

 

REP FIN = if([reliquat total]=2,1,0)

SebSchoon1_0-1663934119833.png

why is this not working?

 

here is my link

 

https://we.tl/t-fHRehqwIvv

 

4 REPLIES 4
Jihwan_Kim
Super User
Super User

Hi,

I am not sure whether I correctly understood your datamodel, but could you please try the below?

 

REP FIN =
IF ( ROUND ( [reliquat total], 0 ) = 2, 1, 0 )


Microsoft MVP



If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.




LinkedInVisit my LinkedIn page




Outlook BookingSchedule a short Teams meeting to discuss your question





Hello ^^

@Jihwan_Kim 

 

it does not work

 

What i need is to allocate one quantity to eache warehouse which have a Rank Less or equal to [Reliquat total]

 

But it does not work 😞

 

your solution provide me 1 everywhere i think i uses the Total value of Reliquat total

Hi @SebSchoon1 

 

According to the description, do you want to compare the value in Rank and the value in Reliquat total? Can you please explain the expected result you want to achieve based on the current sample data?

vjingzhang_0-1664182908072.png

 

Best Regards,
Community Support Team _ Jing

@v-jingzhang 

 

Hello sir,

 

It Works now with

 

REP FIN = 

IF([Rank]<>BLANK() && round([reliquat total],0)>=[Rank],1,BLANK())

I think there was an error sooner in my formaulas.

 

I have noticed something else with this.

 

It does not compute the column total, it is strange.

 

Here is the result.

SebSchoon1_0-1664184203685.png

As you can see it works in rows.

 

Then I do  ==> [Partie entière répartition] + [REP FIN] = [Répartition finale]

 

But total should be 13 not 9 .

 

 

 

Helpful resources

Announcements
May PBI 25 Carousel

Power BI Monthly Update - May 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

May 2025 Monthly Update

Fabric Community Update - May 2025

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