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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
mithunt
Frequent Visitor

NLP Visual

Hello Powerbians

 

I need some guidance here to understand if I can have a Visual where I give users the option to select the narrative and the Narrative displays information in Power Bi. 

 

Should be like 

Options - 

1. Sales by Product - Explains the sales by product, which product has highest or lowest sales, how is the trend , etc.,

2. Orders by Country - A narrative which tells insights about the orders

 

As user clicks each of the option, the narrative should change .

 

Can this be achieved in Power BI?

1 ACCEPTED SOLUTION
Kedar_Pande
Super User
Super User

@mithunt 

Add Smart Narrative visual

Slicer on narrative type (Sales by Product, Orders by Country)

Narrative Text = 
SWITCH(
SELECTEDVALUE(Narrative[Type]),
"Sales by Product",
"Top product: " &
MAXX(TOPN(1, Products, [Sales]), Products[Name]) &
" (" & FORMAT([Sales], "#,0") & ")",
"Orders by Country",
"Highest orders: " &
MAXX(TOPN(1, Countries, [Orders]), Countries[Name]),
"Select narrative"
)

Text box → fx → Narrative Text

View solution in original post

4 REPLIES 4
v-karpurapud
Community Support
Community Support

Hi @mithunt 

We have not received a response from you regarding the query and were following up to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions.

 

Thank You.

 

v-karpurapud
Community Support
Community Support

Hi @mithunt 

Thank you for submitting your question to the Microsoft Fabric Community Forum. Thanks also to @grazitti_sapna  and  @Kedar_Pande  for providing helpful suggestions.

I hope the information shared helps resolve your issue. If you have more questions or need further assistance, please let us know. We're here to help.

Best regards,
Community Support Team.

Kedar_Pande
Super User
Super User

@mithunt 

Add Smart Narrative visual

Slicer on narrative type (Sales by Product, Orders by Country)

Narrative Text = 
SWITCH(
SELECTEDVALUE(Narrative[Type]),
"Sales by Product",
"Top product: " &
MAXX(TOPN(1, Products, [Sales]), Products[Name]) &
" (" & FORMAT([Sales], "#,0") & ")",
"Orders by Country",
"Highest orders: " &
MAXX(TOPN(1, Countries, [Orders]), Countries[Name]),
"Select narrative"
)

Text box → fx → Narrative Text

grazitti_sapna
Super User
Super User

Hi @mithunt,

 

Yes, you can acheive it by creating a separate filter table and using it in the calculation.

 

I've created a sample .pbix file for you, you'll get the idea and can alter as per the requirements.

 

🌟 I hope this solution helps you unlock your Power BI potential! If you found it helpful, click 'Mark as Solution' to guide others toward the answers they need.
💡 Love the effort? Drop the kudos! Your appreciation fuels community spirit and innovation.
🎖 As a proud SuperUser and Microsoft Partner, we’re here to empower your data journey and the Power BI Community at large.
🔗 Curious to explore more? [Discover here].
Let’s keep building smarter solutions together!

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

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.