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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
ParthaCAT
Frequent Visitor

Power BI logic for row based filtering

I have around 500 unique part numbers which are bolts used in Automobiles . Each part number has 10 variables like nominal diameter(Number) , shank length(Number) , material(Text) etc . There would be a condition like few set of bolts will have all 9 variables same and would differ by one variable , say for example , it is differing by material type . Assuming that , I am going to use superior material for all bolts , how to check the number of bolts that I can standardize [Suggest me the logic that I should apply in Power BI ] The source data is in Excel file as table

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @ParthaCAT ,

I'm not clear about your requirement. Could you please provide some source data in the excel files (exclude sensitive data) with Text format and your expected result with backend logic and special examples? It would be helpful to find out the solution. You can refer the following links to share the required info:

How to provide sample data in the Power BI Forum

 

And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Hi @ParthaCAT ,

I'm not clear about your requirement. Could you please provide some source data in the excel files (exclude sensitive data) with Text format and your expected result with backend logic and special examples? It would be helpful to find out the solution. You can refer the following links to share the required info:

How to provide sample data in the Power BI Forum

 

And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

Refer to part ID A2 & A3 . Please ignore the "part name" and "use qty" .Other than that all other column fields will be matching except "Coating" . Now if I am trying to replace the coating type from A to G , dash board should recommend only one part number (ie. For A3 , dash board should recommend A2) . Out of 2 part numbers , there should be only one .

 

At the outset , out of 22 part numbers , I should be able to see how much I could bring down by changing all coating type to "G". I am sorry that , I could not be able to share the power BI file .

Anonymous
Not applicable

Hi @ParthaCAT ,

May I know whether the following thread have the same requirement with current one? Actually, I still not clear about your requirement. What's your expected result? Do you want to get the count of part number which fulfill the conditions or something else?

DAX measure for comparing matching records among m... - Microsoft Fabric Community

Best Regards

A3Hex head boltG28202.5607.5FullHexN/ANonesteel A
A4Hex head boltG8202.59044PitchHexN/ANonesteel A
A5Hex head boltG8202.510054PitchHexN/ANonesteel A
A6Hex head boltG2202.511064PitchHexN/ANonesteel A
A7Hex head boltG2202.5180128PitchHexN/ANonesteel A
A8Socket head boltNA4202.5457.5FullN/ASocketNonesteel C
A9Hex head boltG5202.5707.5FullHexN/ANonesteel A
A10Hex head boltG4202.5507.5FullHexN/ANonesteel A
A11Hex head boltA24202.5607.5FullHexN/AStickysteel B
A12BOLTA184202.58034PartlyHexN/ANonesteel A
A13Hex head boltG8202.513078PitchHexN/ANonesteel A
A14Hex head boltG10202.5200148PitchHexN/ANonesteel A
A15Hex head boltG7202.5220155PitchHexN/ANonesteel A
A16BOLTA4202.512074PartlyHexN/ANonesteel A
A17Hex head boltA38202.5507.5FullHexN/ANonesteel B
A18Hex head boltG10202.5160108PitchHexN/ANonesteel A
A19Hex head boltG11202.514088PitchHexN/ANonesteel A
A20BOLTA10202.515098PartlyHexN/ANonesteel A
A21Hex head boltG66202.58034PitchHexN/ANonesteel A
A22Hex head boltG7202.512074PitchHexN/ANonesteel A

Hi Yiruan . Thanks for feedback . I am sharing you the sample excel table for reference . I am sorry that , I couldn't able to share the Power BI file . 

 

Refer to part ID A2 & A3 . Please ignore the "part name" and "use qty" .Other than that all other column fields will be matching except "Coating" . Now if I am trying to replace the coating type from A to G , dash board should recommend only one part number (ie. For A3 , dash board should recommend A2) . Out of 2 part numbers , there should be only one .

 

At the outset , out of 22 part numbers , I should be able to see how much I could bring down by changing all coating type to "G".

Part IDPart NameCoatingUse QtyDia Pitch Total LengthNon Thread LengthShank TypeHead(Ext Drive)Head(Int Drive)Locking MethodMaterial
A1Bihex boltG72202.57018PartlyBihexN/ANonesteel B
A2Hex head boltA32202.5607.5FullHexN/ANonesteel A
A3Hex head boltG28202.5607.5FullHexN/ANonesteel A
A4Hex head boltG8202.59044PitchHexN/ANonesteel A
A5Hex head boltG8202.510054PitchHexN/ANonesteel A
A6Hex head boltG2202.511064PitchHexN/ANonesteel A
A7Hex head boltG2202.5180128PitchHexN/ANonesteel A
A8Socket head boltNA4202.5457.5FullN/ASocketNonesteel C
A9Hex head boltG5202.5707.5FullHexN/ANonesteel A
A10Hex head boltG4202.5507.5FullHexN/ANonesteel A
A11Hex head boltA24202.5607.5FullHexN/AStickysteel B
A12BOLTA184202.58034PartlyHexN/ANonesteel A
A13Hex head boltG8202.513078PitchHexN/ANonesteel A
A14Hex head boltG10202.5200148PitchHexN/ANonesteel A
A15Hex head boltG7202.5220155PitchHexN/ANonesteel A
A16BOLTA4202.512074PartlyHexN/ANonesteel A
A17Hex head boltA38202.5507.5FullHexN/ANonesteel B
A18Hex head boltG10202.5160108PitchHexN/ANonesteel A
A19Hex head boltG11202.514088PitchHexN/ANonesteel A
A20BOLTA10202.515098PartlyHexN/ANonesteel A
A21Hex head boltG66202.58034PitchHexN/ANonesteel A
A22Hex head boltG7202.512074PitchHexN/ANonesteel A

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.