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
yks4202
Frequent Visitor

To show data by specific period instead of FY

Hi Everyone
I am newbie to Powerbi and need some advice.

We are a rental company and have customers who joined our membership in different period their membership is renewed yearly.
However, our sales data are in sorted FY.

https://file.io/4fPoUvDyLkLc


How can we show the % of sales data according to the customer membership period over the different FYs.

Thank you in advance.

1 ACCEPTED SOLUTION
ryan_mayu
Super User
Super User

@yks4202 

pls see if this is what you want

 





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

Proud to be a Super User!




View solution in original post

13 REPLIES 13
v-aatheeque
Community Support
Community Support

Hi @yks4202 

Thanks for reaching out to the Microsoft Fabric Community forum.
We are unable to access the sample file which was shared by you, as it is protected and restricted by Microsoft's security policies.

1. I have created a sample dataset as follows, based on your description:

AbdulAtheeque_0-1733307138349.png

 

2.Next, I’ve developed a measure to calculate the percentage of sales data corresponding to customer membership periods across different financial years:

Sales Within Membership Period = 
CALCULATE(
    SUM('Sheet1'[SalesAmount]),
    'Sheet1'[TransactionDate] >= 'Sheet1'[MembershipStartDate],
    'Sheet1'[TransactionDate] <= 'Sheet1'[MembershipEndDate]
)
​

 

3.Here are the results generated using the above approach.
AbdulAtheeque_1-1733307324778.png

Below is the attached PBIX file related to the case for your reference.


If this post was helpful, please consider marking Accept as solution to assist other members in finding it more easily.

If you continue to face issues, feel free to reach out to us for further assistance!

ryan_mayu
Super User
Super User

@yks4202 

pls see if this is what you want

 





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

Proud to be a Super User!




@ryan_mayu 
Yes, it is!😍

May I trouble you to help me with the percentage change between the FY22.

 

Just wondering if powerbi allow users to key in data?

For example: if nov 24 data is available, can the end user key in this value for all the customers or it has to been done via uploading excel.

@yks4202 

what do you mean by between FY22? how do you want to show the output? could you pls update the expected output?

 

I don't think we can key in the data to update the data. We can update the data in excel and refresh powerbi to update the data. If you have nov 24 in excel. The output will automatically update. You can have a try.





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

Proud to be a Super User!




@ryan_mayu 

Hi, for the percentage woud be something to show the changes when we compare this year sales to last year sale.

Sum of FY22 = 171

Sum of FY23 = 249

% increase = (Sum of FY23- Sum of FY22) / Sum of FY22

Am I correct?

afd3d923-3f1d-456b-838f-944898b90d1e.jpg

 

Thanks, will try to update the numbers for Nov in excel.

@yks4202 

i think you can create a date table and create a mesure

 

Measure =
VAR _last=CALCULATE(sum(Append1[Value]),DATEADD('date'[Date],-1,YEAR))
return if(ISBLANK(_last),blank(),DIVIDE(sum(Append1[Value]),_last)-1)
 
pls see the attachment below
11.PNG




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

Proud to be a Super User!




Hi @yks4202 ,
we haven't heard back from you regarding our last response and wanted to check if your issue has been resolved.

If our response addressed your query, please mark it as Accept Answer and click Yes if you found it helpful.

Should you have any further questions, feel free to reach out.
Thank you for being a part of the Microsoft Fabric Community Forum!

@ryan_mayu 

Hi, i couldnt change the data source in the your file, so i re create one with another set of data.
But somehow the total does not look right, but not sure where I have gone wrong. can you advice?

 

For example: 
Customer A membership is from April to March.
So using the same period:
FY24: Apr24 to Oct24 = 160 but chart show 270
FY23: Apr23 to Oct23 = 102 but chart show 234

 

I also tried to create a table to show CustomerA data for all the FYs but not sure how, is this possible?

customerA.JPG

Thank you so much for your help. 

 

Data file https://easyupload.io/jgzha1

pbix https://easyupload.io/h8rxc8

 

 

 

You need to set up the column to "y"

 

Previously, I add this to visual filter and set to y, you can add a new slicer and set to y as well.

 

11.PNG





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

Proud to be a Super User!




Thank you so much for the advice. It works!

you are welcome




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

Proud to be a Super User!




yks4202
Frequent Visitor

@ryan_mayu 

Hi, here are the data files and expected results. Hope the links works.

Currently we are using excel to manually calcluate the usage, hence we are exploring if powerbi is able to make things easier, but we got lost.

Data file: https://easyupload.io/in30mh
Expected result: https://easyupload.io/s5qts5

 

Thanks so much for looking at it.

ryan_mayu
Super User
Super User

can't download the sample data.

Btw, what's the expected output?





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

Proud to be a Super User!




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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.