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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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 )

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.


Visit my LinkedIn page by clicking here.


Schedule a meeting with me to discuss further by clicking here.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.