Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi!
I have the below dashboard. It shows forecast over time.
In the left table, the products have been filtered by top 10 difference forecast vs sales in the last 3 months.
In the right table, the products have been filtered by top 10 difference forecast vs sales in the last 12months.
When I select one of the products in the tables, the charts above filter by both the product and the length of time that the table has been filtered on e.g.:
How do I keep the time unfiltered in the charts, while still allowing a filter by product?
Here is an example of one of the measures for future forecast:
SelectLPF = CALCULATE(
SWITCH(TRUE(),
VALUES(Z_UoM[UoM]) = "Volume EU", sum('Fact_L8'[LPF EU]),
VALUES(Z_UoM[UoM]) = "Volume AC", sum('Fact_L8'[LPF AC] ),
VALUES(Z_UoM[UoM]) = "Volume 9L", sum('Fact_L8'[LPF 9L]),
sum('Fact_L8'[LPF HL])),
FILTER(DimDate, DimDate[LongMonthYear] >= DATE(YEAR(TODAY()), MONTH(TODAY()), 1) ))
And for historic forecast:
Lag2 Forecast = CALCULATE(
SWITCH(TRUE(),
VALUES(Z_UoM[UoM]) = "Volume EU", sum('Fact_L8'[WD20 Lag2 EU]),
VALUES(Z_UoM[UoM]) = "Volume AC", sum('Fact_L8'[WD20 Lag2 AC] ),
VALUES(Z_UoM[UoM]) = "Volume 9L", sum('Fact_L8'[WD20 Lag2 9L]),
sum('Fact_L8'[WD20 Lag2 HL])),
FILTER(DimDate, DimDate[LongMonthYear] < DATE(YEAR(TODAY()), MONTH(TODAY()), 1) ))
Thanks!
Solved! Go to Solution.
Try on the bar chart to select the date column and show values without data:
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @dapperscavenger ,
One question do you want to keep the bar chart filtered but show all the dates is that it? Or yo don't want to have the bar chart filtered and keep it equal?
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsI would like the bar chart filtered by the product selected but not by the time period.
Same with the line chart.
Try on the bar chart to select the date column and show values without data:
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em Portuguêsunfortunately it did not work. I will do something different to show the data instead
Can you please share a mockup data or sample of your PBIX file. You can use a onedrive, google drive, we transfer or similar link to upload your files.
If the information is sensitive please share it trough private message.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsStarting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
90 | |
88 | |
83 | |
64 | |
49 |
User | Count |
---|---|
126 | |
110 | |
87 | |
70 | |
66 |