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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
NadeemAhamed
Helper V
Helper V

Show values based on the slicers and previous month values also

Hello everyone,

Good Day.

 

I have one table contains the month and A columns and another one for the financial month table for slicers

when user is selecting the months the values should show as on month 

(ex: if user has selected the Aug month then A column value should be shown from Apr-Aug values)

 

if have relationship TableA and Financial year month then it will show only for the selected month,

 

TableA

NadeemAhamed_0-1726804031254.png

 

Financial year month'

NadeemAhamed_1-1726804064567.png

 

1 ACCEPTED SOLUTION

Thank you all for your reply. 

 

I have achieved the result. by creating new month table and by creating the measures 

View solution in original post

3 REPLIES 3
BIswajit_Das
Super User
Super User

Hello @NadeemAhamed 
You can use a conditional measure and get your required result.

Check out the attached PBI file : https://ufile.io/nbwgo68w

Thanks & Regards...

Joe_Barry
Super User
Super User

Hi @NadeemAhamed 

 

SQLBI has a great course on this topic https://www.sqlbi.com/p/dax-patterns-custom-time-related-calculations/

This article explains what you need https://blog.enterprisedna.co/learn-how-to-calculate-sales-financial-year-to-date/

 

Hope this helps

Joe

 

 




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Learn about the Star Schema, it will solve many issues in Power BI!

Date tables help! Learn more



LinkedIn
Let's connect on LinkedIn


Thank you all for your reply. 

 

I have achieved the result. by creating new month table and by creating the measures 

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.