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.
Hi All,
Need your expert help for the below issue,I'm tring to create a relationship between fact and dim using USERELASTIONSHIP function
Below is the function i'm using to create a relationship.
HoldingRelation =
CALCULATE(DISTINCT('FACT'[CONTRACT]);
USERELATIONSHIP('FACT'[HOLDING_KEY];'DIM'[HOLDING_KEY]) )
However when i create the above formula , i am getting the error "A table of multiple values was supplied where a single value was expected."
Please advice what could be done.
Regards,
athukuri
In your Calculate expression, you are not calculating a single value. You are getting DISTINCT which returns a table! Maybe you wanted to use DistinctCount?
A measure should return one single value. Not a table or multiple rows. If you want multiple values as the output, you can use ConcatenateX to combine them together
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
144 | |
76 | |
63 | |
51 | |
48 |
User | Count |
---|---|
204 | |
86 | |
64 | |
59 | |
56 |