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,
I have appended the query multiple times and I did not seem to have any issue, until now.
Thats the formula I used, I am not sure what the problem is.
There are no duplicate values. I double checked and it is still throwing error.
Any help is appreciated!
Thank you!
The error implies that 'Part File' contains multiple rows where 'Part File'[PartPlantbyYearWeekNum] is the same but has different values of [OrderMinimumQty].
Try defining a calculated table like this to try finding where this occurs:
Summary =
FILTER (
SUMMARIZE (
'Part File',
'Part File'[PartPlantbyYearWeekNum],
"DistinctQty", DISTINCTCOUNT ( 'Part File'[OrderMinimumQty] )
),
[DistinctQty] > 1
)
Thank you! @AlexisOlson
This is the result I got:
I dont see the partplantbyYearWeekNum being repeated.
I still quite not understand what the problem is.
I understood what the problem is.
PartplantByYearWeekNumber is repeated twice with different orderminqty.
Thank you! @AlexisOlson
Can I please know how to fix that?
Thanks again!
You need to either remove the repeats before loading the query to the model or else decide how you want to choose Qty when there are multiple values present and write your lookup accordingly (not with LOOKUPVALUE).
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
17 | |
10 | |
10 | |
8 | |
6 |
User | Count |
---|---|
18 | |
16 | |
15 | |
12 | |
10 |