The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi everyone.
I need a line chart to be responsive when one date is selected from a date slicer. For example, if the selected date is december 31st, 2019, line chart should look like:
But, if I change the date to may 31st, 2019, line chart should be:
I was able to get this done but I'm not really sure if my approach is good. Maybe there is a better one, more efficient. So please I need your comments and suggestions.
My approach
The model:
As you can see I created a disconnected table for the date slicer. The measures I used are:
Solved! Go to Solution.
Hi @fabo ,
This is a good approach, however you can also try one of other two options to not make another unrelated table:
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @fabo ,
This is a good approach, however you can also try one of other two options to not make another unrelated table:
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @MFelix .
I really appreciate your comments. Both options are better, and the second one fits exactly to what I need. I will definetly use it in my reports.
Thank you so much!