Forum Discussion

icassiem's avatar
icassiem
Post Prodigy
16 days ago
Solved

Dynamic Insightful Ttitle

Good day,   I saw this on a dashboard, where the title was an insght to the visual. I dont think this is powerbi but is there a way we can do this I know we can create a dynamic DAX if the threaso...
  • Shai_Karmani's avatar
    16 days ago

    Yes, this is doable natively in Power BI without any add-on.

    The trick is to build a DAX measure that returns the sentence you want, then bind it to the visual title. Click the title area, open Format visual, expand Title, click the fx icon next to Text, set Format style to "Field value", and pick your measure. The title now updates as the underlying data shifts.

    A quick pattern for a top-mover title:

    Insight Title = 
    VAR Top1 = TOPN(1, VALUES(Client[Name]), [Sales Change %], DESC)
    VAR ClientName = CONCATENATEX(Top1, Client[Name])
    VAR Pct = FORMAT([Sales Change %], "+0.0%;-0.0%")
    RETURN ClientName & " changed by " & Pct & " vs last period"

    If you want the narrative generated for you instead of hand-coded, drop the built-in Smart Narrative visual on the page. It produces plain-English commentary about the visuals it can reach, which is very close to that concise insight feel you described.

    If this helped, a thumbs up and marking it as the accepted solution would be appreciated.

    Best regards,
    Shai Karmani

    Let's connect in LinkedIn