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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Divide all Returned sales values on only sales values in January from the same year

Hi all 

I asked this question ywo days ago , but seems I missinterpert my problem ,

https://community.powerbi.com/t5/Desktop/Divide-all-dates-values-on-a-a-specific-date-value-from-a/m...

 

I will try to give more details her 

I have the the following table: 

Hadi2021_0-1637224020432.png

 

And I would like to great new measure (column) that can fill all months sales with the value of January and then divide this is the returned column , meaning that I ma interesting in knowing the return ratio for each month comparing with only September . 

The resulted table should be like this : 

 

Hadi2021_2-1637223723329.png

Where E2 = D2/C2 

Thanks in advance 

Regards 

 

 

2 REPLIES 2
V-lianl-msft
Community Support
Community Support

I see that the thread you released before has been resolved, this solution meets your needs. If there are any problems, please let me know.

amitchandak
Super User
Super User

@Anonymous , Join you table with date table having year and month column and try measure like

 

% = divide(sum(Table[return]) , sumx(filter(allselected(Date), Date[Year] = max(Date[Year]) && Date[Month] =1), Table[sales]) )

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.