cancel
Showing results for
Did you mean:

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a \$100 discount. Register Now

Frequent Visitor

## Add Up Column In A Table

Hi All,

Pretty new to Power Bi. I can’t get this column in this table to add up.

They are two measures.

“OEE = %”

“Points = whole number”

When it totals at the bottom, it picks up the average of the OEE total and scores the total as 3, but the total of the column = 22

How do I get this to show 22?

If it can't be done in the table, is there a measure I can use in card visual to show 22 instead?

2 ACCEPTED SOLUTIONS
Community Support

Hi @tomsmith213 ,

You can create another new measure as below and put this new measure to replace the original measure [Points] onto the table visual...

``New Measure = SUMX ( GROUPBY ( 'Table', 'Table'[Month], 'Table'[Day] ), [Points] )``

Why Your Total Is Incorrect In Power BI - The Key DAX Concept To Understand

Dax for Power BI: Fixing Incorrect Measure Totals

If the above one can't help you get the desired result, please provide some sample data in your table(exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Frequent Visitor

You legend, thanks so much!!

5 REPLIES 5
Solution Sage

Hi @tomsmith213 ,

try to use this measure in a card

``````Measure =
SUMX(
SUMMARIZE(Table,
Table[Day],
Table[Month ]
),
"@Pct",[OEE]
),

"@Points",SWITCH(TRUE(),
[@Pct] <= 0.35, 3,
[@Pct] <= 0.45, 6,
10
)
),
[@Points]
)``````

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Solution Sage

Hi @tomsmith213 ,

try to use this measure

SUMX(

SUMMARIZE('Table',

'Table'[Month],

'Table'[Day]

),

[Points]

)

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Frequent Visitor

Hi, thanks for the reply, however im not using a ‘table’

It’s a table visual just with a few measures inside of it.

Below is the measure for points, which I dragged into the table.

All I need to do, is add up the points as a total.

I would prefer the total of this table shown as a new measure (somehow) so i can place the result in a card visual

Community Support

Hi @tomsmith213 ,

You can create another new measure as below and put this new measure to replace the original measure [Points] onto the table visual...

``New Measure = SUMX ( GROUPBY ( 'Table', 'Table'[Month], 'Table'[Day] ), [Points] )``

Why Your Total Is Incorrect In Power BI - The Key DAX Concept To Understand

Dax for Power BI: Fixing Incorrect Measure Totals

If the above one can't help you get the desired result, please provide some sample data in your table(exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Frequent Visitor

You legend, thanks so much!!

Announcements

#### Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

#### Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

#### Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.