Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
I am in need of a calculated column that counts the number of times a vendor appears in the vendor column,
I know I can do this in a measure using COUNTA, but I can't use a measure in a slicer.
I also was able to achieve this by creating a table by summarizing the data, however this is a disconnected table and no way to have a date relationship.
So what I really need is a calculated column that counts the number of times a vendor appears in the vendor column where it can be used as a Between Slicer. Is this possible?
The below slicer would control the WO Count column in the visual.
Thanks!
Solved! Go to Solution.
Hi,
There may be a simple way of doing this but the following would work in Power Query Editor:
1. Duplicate the table
2. On the duplicate table use the 'Group By' button to create a summary table by vendor
3. Use the 'Merge Queries' button to join this duplicate table back to the original table.
Hope that's of some help
Jo
Hi,
There may be a simple way of doing this but the following would work in Power Query Editor:
1. Duplicate the table
2. On the duplicate table use the 'Group By' button to create a summary table by vendor
3. Use the 'Merge Queries' button to join this duplicate table back to the original table.
Hope that's of some help
Jo
@BI_Jo Yes this worked! The only thing I changed is I did not merge queries and instead kept it as a 2 column table, Vendor and Vendor Count. This allowed me to make a 1 to many relationship with another table on Vendor.
Thank you!
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 51 | |
| 37 | |
| 35 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 69 | |
| 65 | |
| 39 | |
| 33 | |
| 23 |