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.
Hello,
I have data composed of Supplier Codes, Part Numbers and Sales. I would like to display all the part numbers from Supplier 1 and one part number from Supplier 2 in a single visual.
Currently, I am using the visual filter and manually selecting all the part numbers from Supplier 1 and just the one part number from Supplier 2. My issue is that when new part numbers are added to the system for Supplier 1, these part numbers are not automatically added to the visual. It requires me to manually find the new part number and add it to the filter.
I understand that I can create two separate visuals, one per supplier and one per part number. However, I have to display it in a single visual.
Also, I am aware that I can create two separate tables in my data set, one with data selected per supplier and one per part number and then append the tables per the following link. I am just looking for a simplier solution.
Please let me know if there is additional I can provide to help clarify the situation. Any advice provided would be much appreciated.
Thank you,
Jessica
Hi,
I also experience this filtering problem when I was doing the report.
what I did, on filter pane, I check select all and then manually unchecking the data I don't want to show.
1
example from the above, unchecking what I don't need instead of checking what i need.
So when new item is added, it will appear on my report.
Hi @jlam ,
Why not choose all instead of manually selecting all the part numbers?
Currently, I am using the visual filter and manually selecting all the part numbers from Supplier 1 and just the one part number from Supplier 2.
Hi @v-frfei-msft,
I cannot select all part numbers for multiple suppliers since I only need all the part numbers from one supplier and only a few part numbers from another supplier.
Unforunately, I have thousands of parts for both supplier 1 and supplier 2 and I would have to unselect hundreds of parts from supplier 2. This would be quite inefficient.
Jessica
Can you flag all the relevant part numbers in the table and then filter on the flag?
Hello @tex628 ,
I don't believe this would include any new part numbers being added to the system and would still require me to manually flag them as relevant.
You would flag with a calculated column that looks at supplier code, so as long as the new parts have supplier code when they are added it should be possible to flag them.
Exactly! Catching all record from supplier 1 should be easy.:
Column = IF([SupplierCode] = "1" , 1 , 0)
This should give every record a "1" if they are from supplier 1. This will also be the case for new records as the column is calculated each time the report is refreshed.
In regards to catching just a single record for each of the other supplier you will need to go a little more complicated:
Column = VAR index_ = CALCULATE( MAX([Index]) , ALL('Table') , [SupplierCode] = EARLIER([SupplierCode])) IF([SupplierCode] = "1" , "1" , IF([Index] = index_ , "1", "0" ))
Here you would add a filter to an Index column, a column just holding unique identifying,
Record 1,
Record 2,
Record 3,
etc..
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
108 | |
105 | |
86 | |
74 | |
66 |
User | Count |
---|---|
123 | |
112 | |
96 | |
82 | |
72 |