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

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

Reply
DrillDownBI
Frequent Visitor

Measure Total, again

Hi,

this is my third day struggling with measure total, time to get some help.

I have 3 columns in my matrix tabel that should be summarized row by row, and then ofcource sum up everything in the total.

Column 1 [PY Actual] is Value from my fact table, column 2 [Inflation_basic] is a value from Inflation table, this tables have dates and Items. Column 3 [Inflation Effect] is Column 1 * Column 2 and gives me correct row value but then sum Total * Total and thats were the problem is. Item and Calendar is the dim tables.

I have try summarize, summarize with sumX, hasonevalue, but no luck.

measure_total.pngmeasure_total2.png

4 REPLIES 4
FBergamaschi
Resolver I
Resolver I

You need to go Item by Item, so that will be done at the total as well, otherwise at the total you are multiplying the two totals of the other two measures

 

to do this you need to iterate VALUES ( Item) like

 

SUMX ( VALUES ( item ), [PY ACtual] * [Inlation basic] )

 

Not sure you need to SUM (SUMX) or AVERAGE (AVERAGEX ) the result

 

Hope this helpes, to help more please provide tables or pbix file

 

please give kudos or mark as a solution in case

 

Thanks!

 

best

Thanks,

but no luck with VALUES, I´m dealing with different granularity from all 4 tables.

Calendar have Period "yyyy-mm"
Fs Item have Item
Salary have Item and Period and is a SCD2 table

Fact have Item and Period.

 

Also test crossfilter, userelationship, crossfilter direction to both, everything mess up the total.

Some report should stay in excel 🙂

 

I cant merge tables because Inflation will affect on PY Actuals, so 2024-06 YTD * 2025-06 Inflation.
Can´t provide pbix.

The only way to help you then is that you provide dummy data for all the tables and desired results so we can import them, otherwise it is impossible to help you

Hi @DrillDownBI 

  as suggested Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).

 

Do not include sensitive information. Do not include anything that is unrelated to the issue or question.

 

Please show the expected outcome based on the sample data you provided.

How to provide sample data in the Power BI Forum - Microsoft Fabric Community

Regards,
Atheeq.

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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