Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
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! | |