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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Help with price index based on 100 base price.

Hi guys,

 

Please I would like to ask you to help me to solve a question I am facing in Power BI because I have to build a report where it calculates a price index based on 100 base:

Filter : Brands, but if not possible I´ll try to adaptated the report.

matrix: the Ideal would be brands in row and  months in columns but if not possible it would not be a such big problem.

 

Behaviour:

When the client service team click over brand A on filter, the Matrix assumes that A is 100% and other brands varies so other brands can be 105%, 98% so on

When B is selected B is 100%

 Considering that price is value divided by volume I did:

 

Price_Index =
VAR Date_index =
CALCULATE ( MIN ( 'Test'[Month] ), ALLSELECTED ( Test ) )
RETURN
( SUM ( Test[Value] ) / SUM ( Test[Volume] ) )
/ (
CALCULATE ( SUM ( Test[Value] ), Test[Month] = Date_index )
/ CALCULATE ( SUM ( Test[Volume] ), Test[Month] = Date_index )
)
* 100

 

But with no expected result, Can anyone help me on this?

 

Thanks a lot!

 

 

 

 

 

2 REPLIES 2
wdx223_Daniel
Super User
Super User

If you can show some data to explain it, we might figure it out much quickly.

Anonymous
Not applicable

Hi Daniel, thanks for your replay 🙂

I tried to put a small part of my data with a example of what I need:
1-  group data by month.
2 - divide sum of value by sum of volume by month.
3 - divide value by volume for each brand.
4 - divide the step 3 by step 2 and multiply by 100.

 

where 69 is 6,07 / 8,78 * 100

 

Example price index 100.jpg

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.