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

Preparing for a certification exam? Ask exam experts all your questions on May 15th. Register now.

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
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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