Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Nihed
Helper III
Helper III

Dax Help

Hello,

 

Can someone give me an idea about this problem please,

 

Nihed_0-1645130170028.png

 

These rates may change on a monthly basis. In the table above, the most recent rate in the period should be displayed.

Example: if 2022 Q2 is selected in the filter, the rate of June 2022 must be displayed (Last month of the quarter)

my Data:

Nihed_0-1645130373938.png

 

 

 

5 REPLIES 5
Anonymous
Not applicable

Hi @Nihed ,

 

I suggest you to create a continuous date table by calendar/calendarauto function. I can see last day of quarter which is in date format in second screenshot date table. However I couldn't see date in your first data screenshot. Did you created a relationship between your date table and your data table? If there is an active relationship by [Quarter/Year] columns, I think your visual will show all values in 2022 Q2 when you select it in slicer. I am still confused about what kind of result you want. Could you share a sample file with me and show me a screenshot with the result you want? This will make me easier to find the solution.

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Whitewater100
Solution Sage
Solution Sage

I can't see your data model and if you have a date table.

 

Normally you can do Closing Qtr Rate = CLOSINGBALANCEQUARTE( [Measure for your rate], Dates[Date])

 

If you have sample data model I can take another look.

 

If you have a date table named Dates and have marked it as so.

 

Hope this helps!

I use this table as the date table

 

Nihed_0-1645131077142.png

 

I do not understand..

I don't have a date table in my model

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.