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,
I have three variables called:
Append Sales Invoices[Amount] = Type Decimal Number
Append Sales Invoices[Header.No] = Type Text
Append Sales Invoices[Quantity] Type Decimal Number
I am trying to customize a column called TSIP Hours where the output is basically Append Sales Invoices[Quantity] that goes through an IF condition.
When the Append Sales Invoices[Amount] is 0 and Append Sales Invoices[Header.No] is either "20144" or "20140" then Output is the Append Sales Invoices[Quantity]. I put the formula down below. The problem is, it's populating the quantity regardless of the If condition - so if the quantity is 1 or greater, it still populates where it should only populate when Amount is 0.
Solved! Go to Solution.
Hi @damonkimble , you can try the following DAX:
TSIP Hours = IF('Append Sales Invoices'[Amount] = 0 && 'Append Sales Invoices'[Header.No_] = "20144" ||
'Append Sales Invoices'[Header.No_] = "20140", 'Append Sales Invoices'[Quantity], Blank())
Did I solve your problem?
If yes, please mark my solution Accepted!
Hi @damonkimble , you can try the following DAX:
TSIP Hours = IF('Append Sales Invoices'[Amount] = 0 && 'Append Sales Invoices'[Header.No_] = "20144" ||
'Append Sales Invoices'[Header.No_] = "20140", 'Append Sales Invoices'[Quantity], Blank())
Did I solve your problem?
If yes, please mark my solution Accepted!
Thank you @Anonymous got this working now!
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 |
---|---|
147 | |
85 | |
66 | |
52 | |
46 |
User | Count |
---|---|
215 | |
90 | |
83 | |
66 | |
58 |