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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

Measures computes correctly only in a separate table

Hi!

I want to calculate 2 measures in the table, but they computes correctly only in a separate table.

Please help...

 

I've built a star-schema model, where:

 

[StoreID] - is unique store
[ChainID] - a group of unique stores

[CostItemID] - unique cost name
[AccountKey] - a group of costItems

 

Main measure:

 

 

Cost Amount TY = SUM(FactCosts[CostAmount])

 

 

 

Measures with conditions:

 

 

Salary = CALCULATE([Cost Amount TY], DimCostItem[CostItemID] = 876)
92 Account = CALCULATE([Cost Amount TY], DimAccounts[AccountKey] = "92")

 

 

Highlighted green where calculations correctly. In a columns - DimStoresChain[ChainID]

1.png

 

ModelModel

1 REPLY 1
MohammadLoran25
Solution Sage
Solution Sage

Hi @Anonymous ,

Not Clear. I did not understannd your photos.Please explain more.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors
Top Kudoed Authors