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.
Hello everyone,
I want to display values on Matrix selected by the slicer.
Here is Table1.
Selection |
Group |
Product1 |
Product2 |
Division |
Person |
and Table2.
Num | Data | Group | Product1 | Product2 | Division | Person |
1 | A | 1 | 1 | a | C | A1 |
2 | A | 2 | 3 | a | C | A1 |
3 | A | 3 | 2 | a | B | B1 |
4 | B | 1 | 5 | a | B | A1 |
5 | B | 2 | 4 | b | A | B1 |
6 | B | 3 | 2 | b | A | A1 |
7 | C | 1 | 1 | b | A | B1 |
8 | C | 2 | 3 | b | B | A1 |
9 | C | 3 | 5 | b | C | B1 |
There is no relationship between them.
For slicer selection, I created a measure like this:
@PbiCeo Right, DISTINCT returns a table of values which is not valid for measures. Often you use CONCATENATEX to do something like returning a single value from a table of values. If that does not suffice Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
The most important parts are:
1. Sample data as text, use the table tool in the editing bar
2. Expected output from sample data
3. Explanation in words of how to get from 1. to 2.
User | Count |
---|---|
25 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
25 | |
12 | |
11 | |
10 | |
6 |