Forum Discussion
NLP Visual
- 4 months ago
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
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!