Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Creating two tables from one data table which has totals

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:

 

GroupingItemOwnerCount
HardwareMouse 9
HardwareMouseA2
HardwareMouseB

3

 

HardwareMouseC4
HardwareKeyboard 8
HardwareKeyboardA1
HardwareKeyboardC2
HardwareKeyboardE5
SoftwareWindows 2
SoftwareWindowsB1
SoftwareWindowsD1
SoftwarePower BI 2
SoftwarePower BIA1
SoftwarePower BIB1

 

Table of totals:

GroupingItemCount
HardwareMouse9
HardwareKeyboard8
SoftwareWindows2
SoftwarePower BI2

 

When for example the first row is clicked in the table, the second table displays:

OwnerCount
A2
B3
C4
1 ACCEPTED SOLUTION
Irwan
Super User
Super User

hello @Anonymous 

 

please check if this accomodate your need.

Irwan_0-1737076699863.png

 

1. create a new measure for calculating 'Counting' value

CountValue = CALCULATE(SUM('Table'[Count]),'Table'[Owner]<>BLANK())
2. plot the measure and column in table visual for first table
Irwan_1-1737076777163.png

3. create another table visual for second table. use visual filter to remove empty value in 'Owner' column.

Irwan_2-1737076877415.png

 

Hope this will help.

Thank you.

 

View solution in original post

1 REPLY 1
Irwan
Super User
Super User

hello @Anonymous 

 

please check if this accomodate your need.

Irwan_0-1737076699863.png

 

1. create a new measure for calculating 'Counting' value

CountValue = CALCULATE(SUM('Table'[Count]),'Table'[Owner]<>BLANK())
2. plot the measure and column in table visual for first table
Irwan_1-1737076777163.png

3. create another table visual for second table. use visual filter to remove empty value in 'Owner' column.

Irwan_2-1737076877415.png

 

Hope this will help.

Thank you.

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.