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 September 15. Request your voucher.

Reply
AlexGallet01
Helper IV
Helper IV

Problem with formula

Hello,

 

I don't understand why i don't do this.

 

Représentant choisi = SELECTEDVALUE('Représentant'[Personnalisé])

 

Test = CALCULATE(SUM(Factures[Representant €]);Factures[Représentant 2]=[Représentant choisi])

 

Reguards.

6 REPLIES 6
AlexGallet01
Helper IV
Helper IV

I have another problem in rapport with this.

 

My representant have a link with rep01 but if i want to have the order with rep02 = representant i need to create a link with rep02 but it's not possible to create a link if he has another link.

 

So how i can to create 2 active links ?? 

Hi @AlexGallet01

You can have two links, although only one can be active at a the same time.

If you want to use the inactive relationship, you can use the USERELATIONSHIP function

Check

https://msdn.microsoft.com/en-us/library/hh230952.aspx

 

 

vcastello
Resolver III
Resolver III

Hi @AlexGallet01

 

Try ...

 

 

 

Test = CALCULATE(SUM(Factures[Representant €]);Factures[Représentant 2]=VALUES([Représentant choisi]))

Hello,

 

When i try this my Représentant choisi not accessible

Is there a relationship between 

1.- Table "Factures"

2.- Table "Représentant"

 

Possibly through Factures[Représentant 2] and Représentant[Personnalisé]
?

 

If so, a simple


CALCULATE(SUM(Factures[Representant €]))

should work for you

Hello,

 

I try a new measure. 

 

Représentant 2 € = CALCULATE(SUM(Factures[Representant €]);FILTER(Factures;Factures[Représentant 2]=[Représentant choisi]&&Factures[Représentant 1]<>[Représentant choisi]))

 

But now i don't have results while i do have results.

 

Sans titre.png

 

 

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.

Top Kudoed Authors