Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin 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.
https://drive.google.com/file/d/1NYg6zhVHJgWBvs2sMiTq5bOq2_B0W9xW/view?usp=sharing
In the above file, is a report , with prod as filter ,
Eg if i select A, table visual will show me , what other products have people who purchased A also bought.
So in this case output when i select A as prod filter :
C
D
E
If i select D, the output :
A
C
E
B
Now I need to have Amount and distinct count of ID to the table
Expected Output:
Prod | AMount |
E | 15 |
D | 6 |
C | 8 |
Solved! Go to Solution.
File attached. Good modeling techniques go a long way toward making things easy... If this solutions meets your requirements, please mark it as the solution. It'll help others. Thanks.
You can create a couple of measures like
Sales Amount = IF( NOT ISBLANK([_]),CALCULATE( SUM( 'SALES'[Amount] ), REMOVEFILTERS( PROD ) ) )
Count of ID = IF( NOT ISBLANK([_]), CALCULATE( DISTINCTCOUNT( SALES[ID] ), REMOVEFILTERS( PROD ) ) )
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
10 | |
10 | |
9 | |
7 |
User | Count |
---|---|
17 | |
12 | |
11 | |
11 | |
10 |