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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live 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?

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
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

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! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

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.