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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Hadi2021
Helper II
Helper II

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

@Hadi2021 , 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]) )

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors