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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
die_kruzen
Frequent Visitor

Remove Duplicating entries in Matix

Hello All. I have a parent/child relationship I am to display in a matrix. Is there a way to make it so 'This is the title from the parent' just appears once instead of for each child record?

 

Thank you in advance

 

REQID This is the title from the parent 
5522This is the title from the parent 
 34This is the title from the parent 
1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @die_kruzen 
Yes, you can manipulate what to show by hierarchy level, using the ISINSCOPE function:
for example :

title_ = if(ISINSCOPE('Table'[child]),"",max('Table'[title]))
The result :
Ritaf1983_0-1707796893483.png

pbix is attached

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

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

4 REPLIES 4
die_kruzen
Frequent Visitor

@Ritaf1983 @amitchandak - thank you both for the info!! I wasn't aware of the ISINSCOPE....until now.

 

 

@die_kruzen 

 Happy to help😊

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile
Ritaf1983
Super User
Super User

Hi @die_kruzen 
Yes, you can manipulate what to show by hierarchy level, using the ISINSCOPE function:
for example :

title_ = if(ISINSCOPE('Table'[child]),"",max('Table'[title]))
The result :
Ritaf1983_0-1707796893483.png

pbix is attached

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

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile
amitchandak
Super User
Super User

@die_kruzen , Assume the name of the parent column is parent and child is child , then have a measure like

 

New measure=

Switch(True(),

isinscope(Table[Child]) , blank(),

isinscope(Table[Parent]) , Max(Table[Text]) ,

Max(Table[Text])

)

 

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

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!

November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.