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
Saitharunk
Frequent Visitor

Find the percentage and above tolerance column in shared pbx file

I have shared the pbx file please download , i am unable to find the above tolerance please help me to find this.
https://drive.google.com/file/d/16sbeCYC_LzaFabEkYL-pVF90Gkf2M70u/view?usp=share_link 

 

above tolerance is not working when i am filtering with any department (value is not showing not correct )


Below image shows with od department filter (working fine with both columns population and above tolerance)

Saitharunk_0-1681615252509.png

but when i filter with Department the value showing in above tolerance colum is wrong -below image 

Saitharunk_1-1681615372096.png

 


Thank you 

1 ACCEPTED SOLUTION

Hi, @Saitharunk 

 

Based on the data you have provided, you can try the following methods.

Measure:

Precentage = 
Var _N1=COUNT(Table1[Rating])
Var _N2=CALCULATE(COUNT(Table1[Rating]),ALLEXCEPT(Table1,Table1[Department]))
Return
DIVIDE(_N1,_N2)
Above Toerance = 
IF([Precentage]=BLANK(),BLANK(),IF([Precentage]>SELECTEDVALUE(Table2[Toerance]),"Yes","No"))

Result:

vzhangti_0-1682415733213.pngvzhangti_1-1682415752806.png

Please verify the example data and output.

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
rautaniket0077
Resolver I
Resolver I

please clarify your requirements, as what is needed, alsp provide the screen shot if possible.

Table 1 

Saitharunk_8-1681639928701.png

 

Table 2

Saitharunk_9-1681639928707.png

 

Requirement in power bi

with out filtering with Department the result in power bi.

Saitharunk_10-1681639938185.png

 

after filtering with Depatment with "Mech", the result showing in power bi.

Saitharunk_11-1681639938198.png

 

Can you please do this requirement in power bi and share me PBX file .

Hi, @Saitharunk 

 

Based on the data you have provided, you can try the following methods.

Measure:

Precentage = 
Var _N1=COUNT(Table1[Rating])
Var _N2=CALCULATE(COUNT(Table1[Rating]),ALLEXCEPT(Table1,Table1[Department]))
Return
DIVIDE(_N1,_N2)
Above Toerance = 
IF([Precentage]=BLANK(),BLANK(),IF([Precentage]>SELECTEDVALUE(Table2[Toerance]),"Yes","No"))

Result:

vzhangti_0-1682415733213.pngvzhangti_1-1682415752806.png

Please verify the example data and output.

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @Saitharunk ,
please find your pbix file with all the changes, if it solves your issue please accept my answer as solution.
https://drive.google.com/file/d/1SYaDNOfOw6d9ozVrtzxCX5cAF9cKrTF3/view?usp=sharing 

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