Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi,
Power BI
Need help on creating measure on running multiplication value from Previous value
Using Date hirerachy ( Year -> Month in my Power BI table visual)
below is the sample screen shot as output.
Solved! Go to Solution.
Hi, @SP_1
you need month number column in your table
try below measure
Measure 4 =
PRODUCTX(
FILTER(
ALL('Table (2)'),
'Table (2)'[year]=MAX('Table (2)'[year]) &&
'Table (2)'[month number]<=MAX('Table (2)'[month number])
),
'Table (2)'[value]
)
and change decimal number of measure to 5
hi @SP_1
Another method, I have used Date table(Calendar) and Fact table(ProductTbl), linked one to many relationship. To sort the results I have also added YearMonth to table but changed font color to white so it is not visible, MonthYear or date is needed to show results sorted, if sort is not required, you can skip this step.
Hi, @SP_1
you need month number column in your table
try below measure
Measure 4 =
PRODUCTX(
FILTER(
ALL('Table (2)'),
'Table (2)'[year]=MAX('Table (2)'[year]) &&
'Table (2)'[month number]<=MAX('Table (2)'[month number])
),
'Table (2)'[value]
)
and change decimal number of measure to 5
Hi @SP_1
Please check this https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Calculation-Multiplying-V...
Regards,
Ritesh
Hi @ribisht17
I already tried but its not working for date hierarchy (Year / Month)
Thanks
Need DAX code
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
11 | |
10 | |
10 | |
9 |
User | Count |
---|---|
18 | |
13 | |
12 | |
11 | |
8 |