Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello,
Je suis developpeur junior sur Power BI.
J'ai une table de temps Temps(Date) et une table de Taux qui est Tau_annuel(Taux).
Mon besoin est de pouvoir afficher une date selectionnée depuis un segment de date plus les 12 mois précedents sur un graphiques en courbes en eliminant les date nulls ou vides.
J'ai besoin de votre aide et j'apprecierais votre soutien.
Solved! Go to Solution.
Hi @patrickmballa90 - Ensure the relationships are in place between tables:
Time[Date] should be marked as a Date table.Annual_Rate table should have a Date column (or related column) that connects to Time[Date].
Now create a measure to help filter out only the last 12 months
IsInLast12Months =
VAR SelectedDate = MAX('Time'[Date])
RETURN
IF(
'Time'[Date] <= SelectedDate &&
'Time'[Date] >= EDATE(SelectedDate, -11),
1,
0
)
now use the chart and set the filter parameter with 1.
Hope this helps.
Proud to be a Super User! | |
Hi @patrickmballa90 ,
Thank you @rajendraongole1 for your response on this thread.
May I ask if you have gotten this issue resolved?
If it is solved, please mark the helpful reply or share your solution and accept it as solution, it will be helpful for other members of the community who have similar problems as yours to solve it faster.
Regards,
Chaithra.
Hi @patrickmballa90 ,
Thank you @rajendraongole1 for your response on this thread.
May I ask if you have gotten this issue resolved?
If it is solved, please mark the helpful reply or share your solution and accept it as solution, it will be helpful for other members of the community who have similar problems as yours to solve it faster.
Regards,
Chaithra.
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information. Do not include anything that is unrelated to the issue or question.
Please show the expected outcome based on the sample data you provided.
Need help uploading data? https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...
Hi @patrickmballa90 - Ensure the relationships are in place between tables:
Time[Date] should be marked as a Date table.Annual_Rate table should have a Date column (or related column) that connects to Time[Date].
Now create a measure to help filter out only the last 12 months
IsInLast12Months =
VAR SelectedDate = MAX('Time'[Date])
RETURN
IF(
'Time'[Date] <= SelectedDate &&
'Time'[Date] >= EDATE(SelectedDate, -11),
1,
0
)
now use the chart and set the filter parameter with 1.
Hope this helps.
Proud to be a Super User! | |
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
80 | |
76 | |
60 | |
36 | |
33 |
User | Count |
---|---|
91 | |
60 | |
59 | |
49 | |
45 |