Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Looking for help creating a display using DAX. I have a semantic model which pushes data (totals and components in one table) to Power BI (can't create relationships in Power BI). What I would like to do is to create two tables based on the data: One table will show totals, the other table will display nothing until an item is clicked in the first table, and then shows the components. Here's an example:
Original Data:
Grouping | Item | Owner | Count |
Hardware | Mouse | 9 | |
Hardware | Mouse | A | 2 |
Hardware | Mouse | B | 3
|
Hardware | Mouse | C | 4 |
Hardware | Keyboard | 8 | |
Hardware | Keyboard | A | 1 |
Hardware | Keyboard | C | 2 |
Hardware | Keyboard | E | 5 |
Software | Windows | 2 | |
Software | Windows | B | 1 |
Software | Windows | D | 1 |
Software | Power BI | 2 | |
Software | Power BI | A | 1 |
Software | Power BI | B | 1 |
Table of totals:
Grouping | Item | Count |
Hardware | Mouse | 9 |
Hardware | Keyboard | 8 |
Software | Windows | 2 |
Software | Power BI | 2 |
When for example the first row is clicked in the table, the second table displays:
Owner | Count |
A | 2 |
B | 3 |
C | 4 |
Solved! Go to Solution.
hello @Mpodv
please check if this accomodate your need.
1. create a new measure for calculating 'Counting' value
CountValue = CALCULATE(SUM('Table'[Count]),'Table'[Owner]<>BLANK())
3. create another table visual for second table. use visual filter to remove empty value in 'Owner' column.
Hope this will help.
Thank you.
hello @Mpodv
please check if this accomodate your need.
1. create a new measure for calculating 'Counting' value
CountValue = CALCULATE(SUM('Table'[Count]),'Table'[Owner]<>BLANK())
3. create another table visual for second table. use visual filter to remove empty value in 'Owner' column.
Hope this will help.
Thank you.
User | Count |
---|---|
21 | |
19 | |
12 | |
9 | |
7 |
User | Count |
---|---|
30 | |
27 | |
14 | |
13 | |
11 |