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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Fabric Monthly Update - May 2024

Check out the May 2024 Fabric update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors