Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I wanted to show forecasted values along with actuals in a line chart.
Here are the details,
Relationship:
Date -> Actual Table
Date -> Forecast
Visual:
Added 'Date'[Date] in X axis and 'Actula Table'[Actuals] in Y axis.
Slicer - Between:
'Date'[Date]
Now I wanted to add forecast data to the visual which has data for the next 2 weeks.
Thanks in Advance!
Hi @SivaMani ,
Does that make sense? If so, kindly mark my answer as a solution to help others having the similar issue and close the case. If not, let me know and I'll try to help you further.
Best regards
Amy
Hi @SivaMani ,
Based on the Cross filter direction of the relationships among three tables as Both instead of Single, you can try to create measure like DAX below.
Forecast 2 week= CALCULATE(SUM(Forecast[sales]),FILTER(ALLSELECTED(Date),WEEKNUM(Date[Date]) =WEEKNUM(MAX(Date[Date]))+2))
Best Regards,
Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
99 | |
80 | |
70 | |
59 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |