Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
hiiii i am attaching my pbix file as well
i have a line graph and a slicer
in my slicer i am using relative date slicer
what i want to do is if i select weeks in slicer my line graph should display past 2 weeks and current week data
if i select a month in my slicer my line graph should display past 2 months and cuttent month data
https://drive.google.com/file/d/1dcyfSgtGtc6acwq24Rm4JEk3czdrlGrc/view?usp=sharing
Solved! Go to Solution.
Hi @Anonymous
don't use the implicite calendar build by Power BI Desktop. Build your own calendar and use it in your data model in relationship with the other tables. So you have full control on your data.
With kind regards from the town where the legend of the 'Pied Piper of Hamelin' is at home
FrankAT (Proud to be a Datanaut)
Hi @Anonymous
your slicer is set relativ to date and filters your chart to only one datapoint in year 2020. Change the behavior of your slicer or disconnect its filtering in tab Format > Edit interactions from the line chart.
With kind regards from the town where the legend of the 'Pied Piper of Hamelin' is at home
FrankAT (Proud to be a Datanaut)
hiii frank
i want my data in the line graph to be changed as per my slicer and display past 2 and presen months or weeks data
Hi @Anonymous
don't use the implicite calendar build by Power BI Desktop. Build your own calendar and use it in your data model in relationship with the other tables. So you have full control on your data.
With kind regards from the town where the legend of the 'Pied Piper of Hamelin' is at home
FrankAT (Proud to be a Datanaut)
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
| User | Count |
|---|---|
| 48 | |
| 40 | |
| 40 | |
| 20 | |
| 16 |
| User | Count |
|---|---|
| 70 | |
| 67 | |
| 32 | |
| 27 | |
| 26 |