Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hello,
I have created a disconnected table with multiple values along with a DAX measure to refer to different measures in my fact table.
Solved! Go to Solution.
Hi,
I am not sure if I understood your question correctly, but please try something like below.
ACCVALUE =
SUMX (
VALUES ( ACCOUNTS[ACCOUNT_NAME] ),
SWITCH (
TRUE (),
CALCULATE ( SELECTEDVALUE ( ACCOUNTS[ACCOUNT_NAME] ) ) = "Actuals", [Actuals],
CALCULATE ( SELECTEDVALUE ( ACCOUNTS[ACCOUNT_NAME] ) ) = "BL", [BL],
CALCULATE ( SELECTEDVALUE ( ACCOUNTS[ACCOUNT_NAME] ) ) = "SS", [SS],
CALCULATE ( SELECTEDVALUE ( ACCOUNTS[ACCOUNT_NAME] ) ) = "Deductions", [Deductions]
)
)
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Hi,
I am not sure if I understood your question correctly, but please try something like below.
ACCVALUE =
SUMX (
VALUES ( ACCOUNTS[ACCOUNT_NAME] ),
SWITCH (
TRUE (),
CALCULATE ( SELECTEDVALUE ( ACCOUNTS[ACCOUNT_NAME] ) ) = "Actuals", [Actuals],
CALCULATE ( SELECTEDVALUE ( ACCOUNTS[ACCOUNT_NAME] ) ) = "BL", [BL],
CALCULATE ( SELECTEDVALUE ( ACCOUNTS[ACCOUNT_NAME] ) ) = "SS", [SS],
CALCULATE ( SELECTEDVALUE ( ACCOUNTS[ACCOUNT_NAME] ) ) = "Deductions", [Deductions]
)
)
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Hi @Jihwan_Kim, yes that's exactly what I needed. I couldn't figure out how to do the logic using SUMX and SELECTEDVALUE. Thanks a lot.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
144 | |
87 | |
65 | |
50 | |
45 |
User | Count |
---|---|
217 | |
88 | |
81 | |
65 | |
56 |