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.
https://drive.google.com/file/d/1bApfixcHSuPBGXH8ieJo5QU88CIjiTrj/view?usp=sharing
Duplicate dyelot no marked with a red color, if dyelot no rows have duplicate no then bulk_production count one value and other dyelot no's bulk_production value will be 0. Like as Dyelot no 253126042 is double. Here are two bulk_productio value one is 312 & another is 213. So, one will be 312 and another will be 0. Thus, all will be same when you get duplicate dyelot no.
My actual data connected with SQL server. And summation of bulk_production value is more from my actual value. Bcoz there are many duplicate dyelot no.
Solved! Go to Solution.
Hi @Emranit ,
Thank you for reaching out to the Microsoft Fabric community.
DAX:
Bulk_Production_Adjusted =
VAR CurrentDyelot = 'ProductionData'[Production Dyelot]
VAR CurrentEndTime = 'ProductionData'[EndTime]
VAR FirstOccurrence =
CALCULATE (
MIN('ProductionData'[EndTime]),
FILTER (
'ProductionData',
'ProductionData'[Production Dyelot] = CurrentDyelot
)
)
RETURN
IF (
CurrentEndTime = FirstOccurrence,
'ProductionData'[Bulk_Production],
0
)
Output:
If my answer addressed your query, kindly mark it as the Accepted Solution to assist others.
I'd also be grateful for a 'Kudos' if you found my response useful!
Hi @Emranit ,
Thank you for reaching out to the Microsoft Fabric community.
DAX:
Bulk_Production_Adjusted =
VAR CurrentDyelot = 'ProductionData'[Production Dyelot]
VAR CurrentEndTime = 'ProductionData'[EndTime]
VAR FirstOccurrence =
CALCULATE (
MIN('ProductionData'[EndTime]),
FILTER (
'ProductionData',
'ProductionData'[Production Dyelot] = CurrentDyelot
)
)
RETURN
IF (
CurrentEndTime = FirstOccurrence,
'ProductionData'[Bulk_Production],
0
)
Output:
If my answer addressed your query, kindly mark it as the Accepted Solution to assist others.
I'd also be grateful for a 'Kudos' if you found my response useful!
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 |
---|---|
14 | |
13 | |
12 | |
12 | |
12 |