Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hello,
I'm having trouble performing dax formula to give me the total spend for each table (asianamerican,diverse,africanamerican,wbe,divattributes) with the total coming from the fiscspend table with a relationship by the tax id. The Facts table (fiscspnd) is a direct query connection.
1st Question For example, I'm looking to do Total Asian American Spend = Sum or Calculate? Asian Table [ethnicity] = "Asian Amerian"? I also tried to do related with no success.
2nd Question :After having Total Asian American Spend I want to know the % of the Total Spend (this dax formula works)
Would just a simple % of Spend =total asianamerican spend / total spend?
Thank you for your guidance!
Solved! Go to Solution.
Hi @Anonymous,
In fact, the screenshot does not help us clarify your data structure. Can you please share some more detail about these?
How to Get Your Question Answered Quickly
You can also try to use the following measure formula if helps:
Total Asian American Spend =
CALCULATE (
SUM ( Fiscspend[Sales] ),
ALLSELECTED ( Fiscspend ),
AsianAmerian[ethnicity] = "Asian Amerian"
)
% of Spend =
[Total Asian American Spend]
/ CALCULATE ( SUM ( Fiscspend[Sales] ), ALLSELECTED ( Fiscspend ) )
Regards,
Xiaoxin Sheng
Hi @Anonymous,
In fact, the screenshot does not help us clarify your data structure. Can you please share some more detail about these?
How to Get Your Question Answered Quickly
You can also try to use the following measure formula if helps:
Total Asian American Spend =
CALCULATE (
SUM ( Fiscspend[Sales] ),
ALLSELECTED ( Fiscspend ),
AsianAmerian[ethnicity] = "Asian Amerian"
)
% of Spend =
[Total Asian American Spend]
/ CALCULATE ( SUM ( Fiscspend[Sales] ), ALLSELECTED ( Fiscspend ) )
Regards,
Xiaoxin Sheng
User | Count |
---|---|
15 | |
9 | |
8 | |
6 | |
5 |
User | Count |
---|---|
31 | |
18 | |
15 | |
7 | |
5 |