Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I was searching through existing posts but didnt find a proper solution for my task.
I have 3 related tables, Product, Asset and Account
My matrix is combining data from all 3 tables:
[Account, Country, Region]: Account table
[Product]: Asset table
[Family]: Product table
I would like to get a count of accounts that is displayed in the matrix based on the slicer selection for Asset[Product] and Product[Family].
How can I achieve that? thanks!
sample xlsx and pbix
Solved! Go to Solution.
# No Accounts = CALCULATE(COUNTROWS('Account'), CROSSFILTER('Asset'[Customer], 'Account'[Account], Both))
# No Accounts = CALCULATE(COUNTROWS('Account'), CROSSFILTER('Asset'[Customer], 'Account'[Account], Both))
thanks sjoerdvn, I needed a few adjustments to my production file, but your solution works. crossfilter was the keyword I was missing
Hi abc123, I updated the post with a link to my sample data, excel and pbix
please provie sample data file.
User | Count |
---|---|
25 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
27 | |
13 | |
11 | |
9 | |
6 |