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
Anonymous
Not applicable

% diff of rows based on two columns

Hi guys,

 

I have 15 minutes data date table.. so it looks like this 

 

1-1-2018 12:00 AM ---- city 1 ---60

1-1-2018 12:15 AM --- city 1 ---- 50

1-1-2018 12:00 AM --- city 2 ---- 30

1-1-2018 12:15 AM --- city 2 --- 40

 

A) I want to calculate the difference between each time for every specific city, so (50-60)\60 would be ~-16% ... so this should be with time exactly before it.. for the same day... and I also want the difference between the values for the same time but in comparison to previous date... like if I had 2-1-2018 12:00 AM --- city 1 --- 70 then it would be compared with the 60... 

B) I made a chart of max values by minutes, so x axis = 12:00am,12:15 am and the max value happend at that time... the problem is, I want to know to what city and what date this has happend? is this possible? 

 

thanks,

 

 

1 REPLY 1
v-yuta-msft
Community Support
Community Support

@Anonymous ,

 


@Anonymous wrote:

Hi guys,

 

I have 15 minutes data date table.. so it looks like this 

 

1-1-2018 12:00 AM ---- city 1 ---60

1-1-2018 12:15 AM --- city 1 ---- 50

1-1-2018 12:00 AM --- city 2 ---- 30

1-1-2018 12:15 AM --- city 2 --- 40

 

A) I want to calculate the difference between each time for every specific city, so (50-60)\60 would be ~-16% ... so this should be with time exactly before it.. for the same day... and I also want the difference between the values for the same time but in comparison to previous date... like if I had 2-1-2018 12:00 AM --- city 1 --- 70 then it would be compared with the 60... 

B) I made a chart of max values by minutes, so x axis = 12:00am,12:15 am and the max value happend at that time... the problem is, I want to know to what city and what date this has happend? is this possible? 

 

thanks,

 

 


Could you share expected result?

 

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.