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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Anonymous
Not applicable

Linked Dynamic Header not blank when no parent selected

1) I have two Power BI table visuals, Visual 1: for parent records, Visual 2: for child records.

2) There is a 1:n relationship between the two underlying queries.

3) Above Visual 2 I have a Card holding a title field from the parent table.

4) Ss far the Card acts a a dynamic header so that if the user selected a record in Visual 1, Visual 2 shows its child recs and the Dynamic Header changes to show the currently selected record in Visual 1.

 

Problem is when the Dashboard is first opened the Dynamic Header dispalys the Title for the first parent record even though the user has not selected any record and in Visual 2 you see all child records.

 

I want to display blank when there is no Currently selected parent record in Visual 1. How do you do this?

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

To solve this requirement I had to create a measure (labelled "Header", see below) on the Parent Table to hold the dynamic Header which I placed in a Card visual:

 

Header = IF(HASONEVALUE(PARENT_TABLE[FIELD_1]),FIRSTNONBLANK(PARENT_TABLE[FIELD_1],NOT ISBLANK(PARENT_TABLE[FIELD_1]))," ")

 

ISFILTERED didn't work for this requirement as the filtering is based on the user clicking on one of the records on the screen to highlight that record, then child tables are filtered based on the relationship between parent and child.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

To solve this requirement I had to create a measure (labelled "Header", see below) on the Parent Table to hold the dynamic Header which I placed in a Card visual:

 

Header = IF(HASONEVALUE(PARENT_TABLE[FIELD_1]),FIRSTNONBLANK(PARENT_TABLE[FIELD_1],NOT ISBLANK(PARENT_TABLE[FIELD_1]))," ")

 

ISFILTERED didn't work for this requirement as the filtering is based on the user clicking on one of the records on the screen to highlight that record, then child tables are filtered based on the relationship between parent and child.

v-juanli-msft
Community Support
Community Support

Hi @Anonymous 

Create a measure, for example

Measure = IF(ISFILTERED('Date'[Date]),"filtered"," ")

Capture9.JPG

Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

you have to do this in one or more measures of the child table. use isfiltered or isinscope to have no values when nothing is selected

https://powerpivotpro.com/2013/03/hasonevalue-vs-isfiltered-vs-hasonefilter/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.