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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
NidhiBhusari
Helper IV
Helper IV

Filtered applied on column of Matrix shouldn't change its values.

Below is the scenario and for this i need help in creating measure and implementing it.

Create a measure to count values of Test Variables and on applying filter of KPI Relevant as “True” then values of NN should not change .(Here N is count of "Test Variables")

 

 

compound_namekpi_relevanttest_variable
FMF-T17319----FALSET10
FMF-T17319----FALSET40
FMF-T17319----FALSET90
FMF-T17319----FALSETcure
FMF-T17319----FALSERebound Median
FMF-T17319----FALSEG'@1 % (cured)
FMF-T17319----FALSEG'@10 % (cured)
FMF-T17319----FALSEG'@100 % (cured)
FMF-T17319----FALSEtanD@10 % (cured)
FMF-T17319----FALSEHardness Median
FMF-T17319----FALSEElongation
FMF-T17319----FALSEMD050
FMF-T17319----FALSEMD100
FMF-T17319----FALSEMD200
FMF-T17319----FALSEMD300
FMF-T17319----FALSETensile
FMF-T17319----FALSET10
FMF-T17319----FALSET40
FMF-T17319----FALSET90
FMF-T17319----FALSETcure
FMF-T17319----FALSERebound Median
FMF-T17319----FALSEG'@1 % (cured)
FMF-T17319----FALSEG'@10 % (cured)
FMF-T17319----FALSEG'@100 % (cured)
FMF-T17319----FALSEtanD@10 % (cured)
FMF-T17319----FALSEHardness Median
FMF-T17319----FALSEElongation
FMF-T17319----FALSEMD050
FMF-T17319----FALSEMD100
FMF-T17319----FALSEMD200
FMF-T17319----FALSEMD300
FMF-T17319----FALSETensile
FMF-T17319----FALSET10
FMF-T17319----FALSET40
FMF-T17319----FALSET90
FMF-T17319----FALSETcure
FMF-T17319----FALSERebound Median
FMF-T17319----FALSEG'@1 % (cured)
FMF-T17319----FALSEG'@10 % (cured)
FMF-T17319----FALSEG'@100 % (cured)
FMF-H06660Y----TRUET10
FMF-H06660Y----TRUET40
FMF-H06660Y----TRUET90
FMF-H06660Y----TRUETcure
FMF-H06660Y----TRUERebound Median
FMF-H06660Y----TRUEG'@1 % (cured)
FMF-H06660Y----TRUEG'@10 % (cured)
FMF-H06660Y----TRUEG'@100 % (cured)
FMF-H06660Y----TRUEtanD@10 % (cured)
FMF-H06660Y----TRUEHardness Median
FMF-H06660Y----TRUEElongation
FMF-H06660Y----TRUEMD050
FMF-H06660Y----TRUEMD100
FMF-H06660Y----TRUEMD200
FMF-H06660Y----TRUEMD300
FMF-H06660Y----TRUETensile

 

NidhiBhusari_3-1626766647436.png


expected output :-

NidhiBhusari_4-1626766690581.png

 



 

 

 

1 ACCEPTED SOLUTION
NidhiBhusari
Helper IV
Helper IV

@amitchandak Thanks for replying...Its working.

View solution in original post

2 REPLIES 2
NidhiBhusari
Helper IV
Helper IV

@amitchandak Thanks for replying...Its working.

amitchandak
Super User
Super User

@NidhiBhusari , best is create an independent table with true and false say kpi_relevant

 

Then NN will have not impact

 

n = calculate(countrows(Table), filter(Table, Table[kpi_relevant] = selectedvalues(Table[kpi_relevant]))

 

 

or you can try for NN with kpi_relevant from Table

 

 

NN = calculate(countrows(Table),removefilters(Table[kpi_relevant]))

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors