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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. 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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.