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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

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
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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