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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
MrToast20
Frequent Visitor

Data Transform/visualization help

Hi all,

I'm new to powerbi but enjoying it so far.

 

I have some data in the format below. I'm trying to establish trends/patterns in this data

 

The RefNo can have multiple rows of data as it changes over time.  E.g RefNo 2 starts on 22/09/17 with amount £1301 and finshed at 15/08/18 amount £3017.93.  I'd like to see if this is common across all data, i.e we finsh higher than we started. 

I'm not sure how I can achieve this or how best to visualise it and would appreciate any help and/or recommendations.

 

RefNoDateAmountPosition
126/09/201733150
222/09/201713014
217/10/201746002
213/11/20173017.931
215/08/20183017.930
327/09/201713011
311/10/201700
427/09/201700
509/10/201713012
531/01/201812001
505/02/20181162.230
616/10/201713013
610/05/20185002
608/06/2018414.761
607/08/2018414.760
1 ACCEPTED SOLUTION

HI @MrToast20 

 

I didn't do modelling on the data, just put them in the visual. pbix attached for your ease.

07.PNG

 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.

View solution in original post

5 REPLIES 5
amitchandak
Super User
Super User

@MrToast20 , is your issue resolved?

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here
v-diye-msft
Community Support
Community Support

Hi @MrToast20 

 

Please kindly check whether you'd like to get below visualization:

03.PNG

Not quite sure about the meaning of position, so I didn't put it in. Please disclose more details about your requirements that I provide further help.

 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.

Hi @v-diye-msft 

 

Thanks.  That looks better.  What is your formula for Amount?

 

Also what does it look like if you select RefNo 2 in the slicer?

HI @MrToast20 

 

I didn't do modelling on the data, just put them in the visual. pbix attached for your ease.

07.PNG

 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.
amitchandak
Super User
Super User

Create a new column

Last date = maxx(filter(table,table[RefNo]= earlier(table[RefNo])),table[date])
last value = maxx(filter(table,table[RefNo]= earlier(table[RefNo]) && table[date]= earlier(table[Last date]) ),table[Amount])

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution.
In case it does not help, please provide additional information and mark me with @

Thanks. My Recent Blogs -Decoding Direct Query - Time Intelligence, Winner Coloring on MAP, HR Analytics, Power BI Working with Non-Standard TimeAnd Comparing Data Across Date Ranges
Proud to be a Datanaut Connect on Linkedin

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.