Forum Discussion

noamshn's avatar
noamshn
Frequent Visitor
2 years ago
Solved

Control line in a dynamic chart

Hello everyone, i have a graph in which i want to insert a conrol line. in the dashboard there is a slicer to choose a range of dates and because of this i need that the control line will be dynamic...
  • fahadqadir3's avatar
    2 years ago

    noamshn Review the attached screenshot based on Date Range selected Control Line would be updated.

     

    Days Difference = DATEDIFF(MIN('Table'[Date]),MAX('Table'[Date]),DAY)

    Control Line = [Days Difference]*3

    Hope it works.

    Did I answer your question? Mark my post as a solution! This will help others on the forum!
    Appreciate your Kudos!!