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.
Hi there,
we would love to have price indices in power bi - has anybody tried that before and could share best practices?
we have three tables
in order to have a (dynamic) price index, we would like to be able to select two dates - reference date (where index is defined as 100) and the compare date, for which the index 110 says: prices are 10% higher than on reference date.
the challenge is, that the price history table does not contain an entry for every date (which would bloat the table with 12000 skus to 4,400,000 rows), so we need measures, which contain the last prices on *or before* the reference date and the compare date. does anybody have a measure which caclulates an index on those?
the 2nd challenge is to create a weighted price_index which weights the index with the order value on reference date or compare date.
thanks in advance!
Anyone able to find a solution to this?
Problem is; food prices like cherry only have at summer times and when we go winter price index fells like truck but it should not. Because it has to not count cheery anymore in the basket
June Lemon 5
June Chery 7
June Bread 2
June Total_Basket is 14 (food price index here is 100)
July Lemon 6
July Chery 8
July Bread 2
July Total_Basket is 16 (so food price index icreased %14 to 114)
Agu Lemon 3
Agu Chery 4
Agu Bread 2
Agu Total_Basket is 9 (so food price index decreased -%35 to 65)
No more cherry price in sept.
Sep Lemon 3
Sep Bread 2
Sep Total_Basket is 5 (so food price index have not changed. both lemon and bread is 2 so result should be %0 change with 65)
But dax calculates this as -%64 change to 36)
So we need a dynamix basket total calculator and add products like cheery to if it has both at start and end of calculation dates else should ignore that value from both start and end.
Thanks everyone.
Thank you very much darlove.
Can we may be make it hard coded to "January 2020 or first month items's price appears" to 100 so that we dont need to click a month year to see index?
By this way I can achieve
yearly index,
-12 month index
5 year index
etc.
Thanks a bunch!
I get what you mean now!
I will work on this files. Thank you very much!
Hi there.
Interesting problem 🙂 Would you, please, set up a small but faithful model in a PowerBI or Excel file and send it over? I'll take a look at this. By the way, the file, or accompanying file (Excel), needs to have an example of WHAT IT IS YOU REALLY WANT (I mean the correct output).
Then I'll be able to give you a solution. You can place a link to the file(s) on your OneDrive on GoogleDrive for me to take a look.
Thanks.
Best
Darek
This one continues... Great response from you! I have a similar dynamic cost history case.
I want to show history prices comparable to todays prices, I have a cost history index with 2 rows per year.
So, I have current costs calculated per each case, and want to present history case costs as a price-corrected measure.
My problem is that cost history index table has only a few rows, I should be able to reach to the latest previous row, pick up the multiplicator and multiply the found cost item with the latest previous index (e.g. this row 100€ * matching nearest previous index value)
I got this working with manual year filter, but dynamic... @Anonymous ?
as simple as it goes
Cost Items
costitem
price
date
table with cost history index,
indexvalue (100 as base on 2010, growing by percents)
date (twice a year) , e.g. 1.1.2010 or 1.6.2010
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
49 | |
26 | |
21 | |
16 | |
12 |
User | Count |
---|---|
57 | |
49 | |
44 | |
19 | |
18 |