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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Nika777
Frequent Visitor

Display comment based on selection

Dear Power BI User, 

 

please can you help me with my question?

I have a table:

ProjectStartStopComment
A1-Jan-2223-Mar-22Comment A
B25-Jun-2217-Oct-23Comment B
C8-Feb-235-May-23Comment C

Projects A, B, C are displayed as bar charts (with respective start and stop dates). I want to get the comment displayed depending on the selected project. E.g. if I select the Project A bar (in the bar chart visual), I want to get Comment A displayed. As the comment text can be lengthy, I want to display the respective comment as a separate text box or table under the bar chart visual.

 

Is this possible?

Sorry, I am new to Power BI (learning) and might need a step by step help.

Thank you so much for your valuable time to help me

With best regards

Nika

1 ACCEPTED SOLUTION
rajulshah
Resident Rockstar
Resident Rockstar

@Nika777 

 

You can create a measure as follows:

Measure = SELECTEDVALUE ( Table [ Project ] )

 

And you can display the same in the table or a card, I don't think so you would be able to plot the measure in a text box.

Please let me know if this didn't help.

View solution in original post

3 REPLIES 3
rajulshah
Resident Rockstar
Resident Rockstar

@Nika777 

 

You can create a measure as follows:

Measure = SELECTEDVALUE ( Table [ Project ] )

 

And you can display the same in the table or a card, I don't think so you would be able to plot the measure in a text box.

Please let me know if this didn't help.

Dear Rajulshah,

many thanks for your quick reply. Sorry, that I am such a beginner. Please can you guide me how to implement the Measure formula? Do I need to do this in the Power Query Editor?

Many thanks

Nika

Thank you, I could figure out 🙂

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.

Top Solution Authors