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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
dansimmons
Frequent Visitor

Pulling comments from 'Comments' table based on slicer selections

Hi,

 

I'm trying to add comments to my dashboard which will pull from a 'Comments' table that I have created. This table contains the following columns:

 

- Month

- Territory

- KPI

- Value (i.e. the comment itself)

 

Within my report, I have slicers applied for 'Month', 'Territory' and 'KPI'. The idea is that, based on the selections in these slicers, the associated 'Value' entry will pull through accordingly.

 

I believe the first step is to create the correct connections within the data model, which I'm struggling with. I think some DAX may then be required, but ultimately I simply wish to display the contents of the 'Value' field from the 'Comments' table based on the matching slicer selections.

 

For example, if I had slicers selected as 'UK', 'SLG' and '01/04/2022' (for 'Territory', 'KPI' and 'Month' respectively) in line with the below data from the 'Comments' table, I'd want to display the 'Value' entry (i.e. '0' in this case - bad example I know!) in the visual.

 

dansimmons_0-1649757117061.png

 

Model as follows:

 

dansimmons_2-1649757258123.png

 

Thanks 🙂

1 REPLY 1
amitchandak
Super User
Super User

@dansimmons , Using Month You should create a date

say you have month like Jan-2022

Date = datevalue("01-" &[Month])

or

Date = ("01-" &[Month]) // change data type to date

 

Or create date by using month

 

You need to have a common dimension to Territory and  KPI

 

example

Territory= distinct(Union(distinct(KPITable[Territory]), distinct(comments[Territory])) )

 

KPI= distinct(Union(distinct(KPITable[KPI]), distinct(comments[KPI])) )

 

 

Join these with both table and use common filters now

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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