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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Multiplying Values By Existing Table for Allocation

I'm trying to back into how many dollars were allocated on eac of these perameteres. For example, I'd like to spit out a DAX measure that will take RA-207's $236,000, from another table [Table 1], and multiply it be each allocation percent for "Allocation Type" and each utility in [Table 2]. There are other allocation types, not just D in my [Table 2]. I'm not sure which DAX formula to perhaps use to accomplish this caclualtion?

 

The end result would be

$172,280K Common D

$63,270K Common D

 

Annotation 2021-04-21 150135.jpg

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous,

Did MFelix 's suggestions help with your scenario? if that is the case, you can consider Kudo or accept the helpful suggestions to help others who faced similar requirements to find it more quickly.

If these also not help, please share more detailed information to help us clarify your scenario to test.

How to Get Your Question Answered Quickly 

Regards,

Xiaoxin Sheng

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous,

Did MFelix 's suggestions help with your scenario? if that is the case, you can consider Kudo or accept the helpful suggestions to help others who faced similar requirements to find it more quickly.

If these also not help, please share more detailed information to help us clarify your scenario to test.

How to Get Your Question Answered Quickly 

Regards,

Xiaoxin Sheng

MFelix
Super User
Super User

HI @Anonymous ,

 

For this you need to use a measure that picks up the values however this depends on your model.

 

I have made a simple model with 3 tables:

Allocation

Allocation Values (the one with the totals per RA)

RA table (unique RA values)

 

Made the relationships has below:

MFelix_0-1619187485237.png

 

Then added the following measure:

Total alocated = 
VAR temp_table =
    ADDCOLUMNS (
        SUMMARIZE ( 'Allocations', RA[RA],  'Allocations'[Value] ),
        "@Allocation_Percentage", CALCULATE ( SELECTEDVALUE ( 'Allocation Values'[Total] )
    ))
RETURN
    SUMX (temp_table, Allocations[Value]  * [@Allocation_Percentage] )

MFelix_2-1619187904593.png

 

 

Only question I have is regarding the part where you refer that there are other type of allocations, you need to add another dimension table with the allocations and related with your model and then add it to the summarize.

 

Chekc PBIX file attach.

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

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 community update carousel

Fabric Community Update - June 2025

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