The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hi All -
I have a requirement where i need to display 2 matrix / table with first record as default . The first records will change based on users region.
Also whenever any selection is made on the matrix it should reflect correctly.
Matrix 1
Matrix with all periods /First Dealer/All periods | |||
|
| 201904 | 201905 |
Dealer | MetricNo | cnt | cnt |
A | 1 | 1 | 1 |
A | 2 | 1 | 1 |
A | 3 | 3 | 3 |
Matrix 2
Matrix with First Dealer /First Metric /Latest Period | ||||
Dealer | MetricNo | SubMetric | Cnt | period |
A | 1 | 1 | 1 | 201905 |
If Any selection is made. for example if Metric 3 is clicked. Then it should display all the records for the Selected period/metric/Dealer
If any selection in First matrix, say if metric 3 and 201904 is selected. | ||||
Dealer | MetricNo | SubMetric | Cnt | period |
A | 3 | M3 | 1 | 201905 |
A | 3 | M31 | 1 | 201905 |
A | 3 | M312 | 1 | 201905 |
Sample Data
Dlr | MetricNo | SubMetric | Period | Cnt |
A | 1 | M1 | 201904 | 1 |
B | 1 | M1 | 201904 | 1 |
C | 1 | M1 | 201904 | 1 |
D | 1 | M1 | 201904 | 1 |
E | 1 | M1 | 201904 | 1 |
A | 2 | M1 | 201904 | 1 |
B | 2 | M1 | 201904 | 1 |
C | 2 | M1 | 201904 | 1 |
D | 2 | M1 | 201904 | 1 |
E | 2 | M1 | 201904 | 1 |
A | 3 | M3 | 201904 | 1 |
A | 3 | M31 | 201904 | 1 |
A | 3 | M312 | 201904 | 1 |
B | 3 | M3 | 201904 | 1 |
B | 3 | M31 | 201904 | 1 |
B | 3 | M4 | 201904 | 1 |
C | 3 | M4 | 201904 | 1 |
C | 3 | M5 | 201904 | 1 |
C | 3 | M6 | 201904 | 1 |
A | 1 | M1 | 201905 | 1 |
B | 1 | M1 | 201905 | 1 |
C | 1 | M1 | 201905 | 1 |
D | 1 | M1 | 201905 | 1 |
E | 1 | M1 | 201905 | 1 |
A | 2 | M1 | 201905 | 1 |
B | 2 | M1 | 201905 | 1 |
C | 2 | M1 | 201905 | 1 |
D | 2 | M1 | 201905 | 1 |
E | 2 | M1 | 201905 | 1 |
A | 3 | M3 | 201905 | 1 |
A | 3 | M31 | 201905 | 1 |
A | 3 | M312 | 201905 | 1 |
B | 3 | M3 | 201905 | 1 |
B | 3 | M31 | 201905 | 1 |
B | 3 | M4 | 201905 | 1 |
C | 3 | M4 | 201905 | 1 |
C | 3 | M5 | 201905 | 1 |
C | 3 | M6 | 201905 | 1 |
User | Count |
---|---|
70 | |
67 | |
62 | |
48 | |
28 |
User | Count |
---|---|
113 | |
78 | |
64 | |
55 | |
44 |