March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Can we use field parameter to select between 2 date fields which are in 2 different tables?Parameters are created and line chart is showing date range as well the value is being aggregated single line and parameter is showing text as type.
Solved! Go to Solution.
Hi @vinayganit ,
@audreygerred , thanks for your reply about this case. I tried to create a sample data myself based on the user's requirement and implemented the result. Please check if there is anything that can be improved. Here is my solution:
1.Create two tables with different Date range.
2.Use date fields of two tables as parameters:
3.Create measures:
Date_Measure
=CALCULATE(SUM('financials'[Profit]),FILTER('financials',SELECTEDVALUE('financials'[Date])))
Date2_Measure
= CALCULATE(SUM('financials (2)'[Profit]),FILTER('financials(2)',SELECTEDVALUE('financials (2)'[Date])))
4.Create a line chart:
5.The final results are as follows:
Best Regards,
Zhu
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
Hi @vinayganit ,
@audreygerred , thanks for your reply about this case. I tried to create a sample data myself based on the user's requirement and implemented the result. Please check if there is anything that can be improved. Here is my solution:
1.Create two tables with different Date range.
2.Use date fields of two tables as parameters:
3.Create measures:
Date_Measure
=CALCULATE(SUM('financials'[Profit]),FILTER('financials',SELECTEDVALUE('financials'[Date])))
Date2_Measure
= CALCULATE(SUM('financials (2)'[Profit]),FILTER('financials(2)',SELECTEDVALUE('financials (2)'[Date])))
4.Create a line chart:
5.The final results are as follows:
Best Regards,
Zhu
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
Thank you very much . Just a follow up qn please reply when you are free...i want last year and 2 year before actual values which is another table so I have to make measures in the same way without linking to the Datetable right. Anyway really appreciate your efforts
Hi! This video is great at describing how to set up using two different dates: https://youtu.be/pQ9eSnfAhnc?si=AhxJY-1PrrLw1Ptk
Proud to be a Super User! | |
Hey,I really appreciate the effort,thank you but this is different from the context .
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
132 | |
90 | |
88 | |
64 | |
58 |
User | Count |
---|---|
203 | |
141 | |
107 | |
73 | |
70 |