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

The 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.

Reply
Nurzh_17
Frequent Visitor

How to drill through rows in a range

Hi Experts! 

 

I have a table Document and my case is I need to show in the table visual via drill through rows that located in a range of other column. Let me explain it by this example: 

Here I filtered Project Number = CP-22-3145 and get all related columns. 

Nurzh_17_0-1682510863608.png

And when selecting one particular Project Number like this above I want to show via drill through Drawing Number, Project Number, Master Document columns on another table where values related to ALL Master Document values. 

 

Expected result will be(I filtered it manually by taking all Master Document values from previos screen): 

Nurzh_17_1-1682511111307.png

You can see here that this table includes not only CP-22-3145, but all Project Numbers and Drawing Numbers that have the same Master Document.

 

Please Help, appreciate for any ideas. 🙏 

1 ACCEPTED SOLUTION
v-yueyunzh-msft
Community Support
Community Support

Hi , @Nurzh_17 

According to your description, you want to filter the [Project Number] in a slicer and you want to select one row to jump to another page to show all the data who contains the [Master Document] in pre-Page.

In my thought , first you slicer [Project Number] in first page ,like this:

vyueyunzhmsft_0-1682648588270.png

The [Master Document] has "MD1,13,4" , so in the Page2 will show all the data who contains "MD1,13,4":

vyueyunzhmsft_1-1682648677333.png

 

If this , here are the steps you can refer to :
(1)This is my test data:

vyueyunzhmsft_2-1682648712429.png

(2)First , we need add a calculated column in this table :

Column = 1

vyueyunzhmsft_3-1682648752490.png

Then we need to click "New Table" to add a calculated table as a assited slicer:

Table = VALUES('Document'[Project Number])

 

(3)Then we need to put the 'Document'[Project Number] and the 'Table'[Project Number] as a slicer in the first Page1:

vyueyunzhmsft_6-1682649079235.png

We need to put the [Column] in Table visual.And you need to select "Don't Summarize" for this field both in Page1 and Page2:

vyueyunzhmsft_8-1682649193615.png

 

And then we need to open the Sync slicer for the 'Table'[Project Number] to Page2 and create the same group for three slicers:

vyueyunzhmsft_5-1682649053758.png

 

(4)Then we can create a measure for Page2 and configure it:

Measure = var _slicer = VALUES('Table'[Project Number])
var _t = SELECTCOLUMNS( FILTER(ALLSELECTED('Document') , 'Document'[Project Number] in _slicer) , "docu" , [Master Document])
return
IF( MAX('Document'[Master Document]) in _t ,1,0)

Also you need to put the [Column] field on the "Drill through":

vyueyunzhmsft_9-1682649280262.png

Also , you can close the "Text wrap" in Table visual and then you can drag your mouse to hide this [Column].

vyueyunzhmsft_10-1682649328678.png

 

Above all , you can meet your need if i did not misunderstand your description. You can also download my test .pbix to test.

 

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

 

View solution in original post

2 REPLIES 2
v-yueyunzh-msft
Community Support
Community Support

Hi , @Nurzh_17 

According to your description, you want to filter the [Project Number] in a slicer and you want to select one row to jump to another page to show all the data who contains the [Master Document] in pre-Page.

In my thought , first you slicer [Project Number] in first page ,like this:

vyueyunzhmsft_0-1682648588270.png

The [Master Document] has "MD1,13,4" , so in the Page2 will show all the data who contains "MD1,13,4":

vyueyunzhmsft_1-1682648677333.png

 

If this , here are the steps you can refer to :
(1)This is my test data:

vyueyunzhmsft_2-1682648712429.png

(2)First , we need add a calculated column in this table :

Column = 1

vyueyunzhmsft_3-1682648752490.png

Then we need to click "New Table" to add a calculated table as a assited slicer:

Table = VALUES('Document'[Project Number])

 

(3)Then we need to put the 'Document'[Project Number] and the 'Table'[Project Number] as a slicer in the first Page1:

vyueyunzhmsft_6-1682649079235.png

We need to put the [Column] in Table visual.And you need to select "Don't Summarize" for this field both in Page1 and Page2:

vyueyunzhmsft_8-1682649193615.png

 

And then we need to open the Sync slicer for the 'Table'[Project Number] to Page2 and create the same group for three slicers:

vyueyunzhmsft_5-1682649053758.png

 

(4)Then we can create a measure for Page2 and configure it:

Measure = var _slicer = VALUES('Table'[Project Number])
var _t = SELECTCOLUMNS( FILTER(ALLSELECTED('Document') , 'Document'[Project Number] in _slicer) , "docu" , [Master Document])
return
IF( MAX('Document'[Master Document]) in _t ,1,0)

Also you need to put the [Column] field on the "Drill through":

vyueyunzhmsft_9-1682649280262.png

Also , you can close the "Text wrap" in Table visual and then you can drag your mouse to hide this [Column].

vyueyunzhmsft_10-1682649328678.png

 

Above all , you can meet your need if i did not misunderstand your description. You can also download my test .pbix to test.

 

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

 

Thank you so much for your detailed solution! 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.