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

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

Reply
electrobrit
Post Patron
Post Patron

Show blank until something but the values to show when selected is in another table

I have one table with Project Notes (ProjectTable2[Notes]) and one table with Project Names (ProjectTable1[ProjectName])
(they are related through ProjectID in both tables)
I have a table of the projects and a seperate table visual with the notes but would like to show notes empty (or text) until a project is selected then show the notes.

I can't get this to work being they are seperate tables. It does not give me an option to select another table, only another measure.

Show notes = If(IsFiltered(ProjectTable1 ([ProjectName]), ProjectTable2[Notes])
Tried this too, won't let me select the notes column from another table:
Show text = if(Isfiltered(ProjectTable1 ([ProjectName]), ProjectTable2[Notes], "Select a project to view notes")


Can someone help me with what I am doing wrong with this?
I know I could merge but seeing if I can do without a merge first.
Can you do measures to say until something in this table is fitlered, show blank, then when it's filtered, a field from another table show show (again, they are related)?
thank you in advance!
1 ACCEPTED SOLUTION
jdbuchanan71
Super User
Super User

Hello @electrobrit 

Give this a try.  I will show "Select a project" if none or more that one project is selected.  If a single project name or id from the ProjectTable1 is selected it will show the note.

Note = 
VAR _Project = SELECTEDVALUE ( ProjectTable1[ProjectID] )
RETURN 
IF ( 
    ISBLANK ( _Project ), 
    "Select a project",
    CALCULATE ( 
        MAX ( ProjectTable2[Notes] ),
        ProjectTable2[ProjectID] = _Project
    )
)

None selectedNone selectedProject SelectedProject Selected

I have attached my sample file if you need it.

View solution in original post

2 REPLIES 2
jdbuchanan71
Super User
Super User

Hello @electrobrit 

Give this a try.  I will show "Select a project" if none or more that one project is selected.  If a single project name or id from the ProjectTable1 is selected it will show the note.

Note = 
VAR _Project = SELECTEDVALUE ( ProjectTable1[ProjectID] )
RETURN 
IF ( 
    ISBLANK ( _Project ), 
    "Select a project",
    CALCULATE ( 
        MAX ( ProjectTable2[Notes] ),
        ProjectTable2[ProjectID] = _Project
    )
)

None selectedNone selectedProject SelectedProject Selected

I have attached my sample file if you need it.

@jdbuchanan71 worked perfectly, many thanks!

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors
Top Kudoed Authors