Hi,
I have a probably simple DAX (Power BI) problem.
I have a simple matrix with sales per month and a DateTable.
I would like to show on one page a slicer with the months (1 to 12; from DateTable), a table showing the selected month sum of sales and the YTD some of sales, and a simple bar chart showing the sum of sales per month up to the month selected in the slicer.
My problem is for example, when I choose 4 (April) in the slicer, the bar chart only shows the April sum of sales, not the sales for January to March.
I am not sure, where the problem is? I suppose I need another measure to use in the bar chart, but I dont know how to "overwrite" the slicer selection but still keep to the maximum date from the slicer...
Can anyone help?
I have a probably simple DAX (Power BI) problem.
I have a simple matrix with sales per month and a DateTable.
I would like to show on one page a slicer with the months (1 to 12; from DateTable), a table showing the selected month sum of sales and the YTD some of sales, and a simple bar chart showing the sum of sales per month up to the month selected in the slicer.
My problem is for example, when I choose 4 (April) in the slicer, the bar chart only shows the April sum of sales, not the sales for January to March.
I am not sure, where the problem is? I suppose I need another measure to use in the bar chart, but I dont know how to "overwrite" the slicer selection but still keep to the maximum date from the slicer...
Can anyone help?