Forum Discussion

Linu's avatar
Linu
New Member
4 months ago
Solved

Chart and tooltip feasibility

I have a power bi line chart with year and value , i want to show the graph ordered by value , defaultly it is getting ordered by year , and the tooltip should show the value descendingly with value ...
  • v-karpurapud's avatar
    v-karpurapud
    4 months ago

    Hi Linu 


    Thank you for reaching out to the Microsoft Fabric community forum.
     

    Power BI does not expose line chart legend colors to DAX, conditional formatting, or report page tooltips. Because of this, a custom tooltip (table/matrix) cannot automatically inherit or stay in sync with the line chart colors, especially when new years are added.

    Also, native tooltips cannot be sorted, while report page tooltips lose the built-in colored line indicators. This makes it difficult to achieve all requirements together using native capabilities.

    As of now, you can try using a custom tooltip along with manual color logic (via DAX or a mapping approach), but fully dynamic color synchronization with the line chart is not supported.

    If you have any further questions, feel free to reach out and we'll be glad to assist.
     

    Regards,

    Microsoft Fabric Community Support Team.