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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
ItSupportElm
Helper III
Helper III

Addition two columns who have filters on it

Hello,

 

I have two calculate columns who have filters on it : 

 

1 :2019-12-12_10h49_22.png     

 

 2 : 2019-12-12_10h50_22.png

 

then i want to additon this two new column and keep there filters, but i dont know how to do that.

 

I even try with this formule : 

Mesure 2 = CALCULATE(
COUNT(Client[IdClient]);  
FILTER(Client;Client[FlagTiersPayant] = "y");
FILTER(Client;Client[VIP] = "y"))
 
but it return me a wrong result...
 
If someone can help me please.
Thank you for the future answer.
 
Great day

 

2 REPLIES 2
Anonymous
Not applicable

Instead of creating columns Create measure with your same formula Test and  TEST2 and then create one more below measure 

 

 

ADDition= Test+ Test2

 

az38
Community Champion
Community Champion

Hi @ItSupportElm 

try

Mesure 2 = CALCULATE(
COUNT(Client[IdClient]);  
FILTER(
Client;
AND(Client[FlagTiersPayant] = "y";Client[VIP] = "y")
)
)

or AND replace to OR

do not hesitate to give a kudo to useful posts and mark solutions as solution

LinkedIn

 


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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