cancel
Showing results for 
Search instead for 
Did you mean: 
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
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors
Top Kudoed Authors