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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
NadeemAhamed
Helper IV
Helper IV

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
Solution Supplier
Solution Supplier

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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