Using DAX to control a chart range in Power BI

Ho to use DAX expressions to control and customize the range of charts in Power BI.