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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
TylerPeplinski
Frequent Visitor

Summarizing Vendors Data from earliest to latest prices

Hello,

I'm wondering if someone can help me create a new table by summarizing the earliest price to the latest price. For example part 01247982. We want a table where it would show us a percent change from the 27.39 price to the 32 final price. We have a large list of vendors and we want to calculate YTD %'s instead of doing them individually. Please let me know if you have questions.

 

ItemVendorVendor NameCurrent PriceFinal PriceFinal Percent ChangePrice Event IDFinal Effective Date
0124798213040880Test Vendor$27.3900$29.1700006%3/26/2021-Test Vendor5/18/2021
0124798213040880Test Vendor$29.170030.505%6/26/2021-Test Vendor7/1/2021
0124798213040880Test Vendor30.50325%9/26/2021-Test Vendor10/1/2021
0124799313040880Test Vendor$27.3900$29.1700006%3/26/2021-Test Vendor5/18/2021
0124799313040880Test Vendor$29.17003520%6/26/2021-Test Vendor7/1/2021
0124799313040880Test Vendor354014%9/26/2021-Test Vendor10/1/2021
0124800413040880Test Vendor$32.4700$34.5800006%3/26/2021-Test Vendor5/18/2021
0124800413040880Test Vendor$34.58004016%6/26/2021-Test Vendor7/1/2021
0124800413040880Test Vendor405025%9/26/2021-Test Vendor10/1/2021
0124801513040880Test Vendor$27.3900$29.1700006%3/26/2021-Test Vendor5/18/2021
0124801513040880Test Vendor$29.170024-18%6/26/2021-Test Vendor7/1/2021
0124801513040880Test Vendor243546%9/26/2021-Test Vendor10/1/2021
0124802613040880Test Vendor$27.3900$29.1700006%3/26/2021-Test Vendor5/18/2021
0124802613040880Test Vendor$29.170060106%6/26/2021-Test Vendor7/1/2021
0124802613040880Test Vendor6040-33%9/26/2021-Test Vendor10/1/2021
1 REPLY 1
lbendlin
Super User
Super User

YTD?  When does your year start? Your sample data doesn't go across years.

 

see attached for a sample implementation.  Adjust as needed.  

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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