Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago
Solved

Wrtting text based on chart values

Hello All,   Could you please advise is there any way I can write a text lines based on analytics from bar chart? Say, I have following bar chart in 1st 'Tab' page in PBI desktop -     The...
  • v-huizhn-msft's avatar
    8 years ago

    Hi Anonymous,

    Actually, I am confusing about your requirement: how that would flow from tab 1 (where actaul graph is plotted) to tab 2 (where I need to write those lines)?

    For add a text line, you can create two measure to get the max/min value. I name the measure name to get max value as max_value, the measure name to get min value as min_value, then you can create another measure using the formula below to display it in card visual.

    text="The max crimes"&&[max_value]&&"are recorded on Thursday and min crimes"&&[min_value]&&"are recoreded on Wednesday"


    Please share more details for further analysis.

    Best Regards,
    Angelia