March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
The following 2 MSAccess queries produce a count of models where the equip ID ledger account amount sum is not $0. I would like to recreate in PBI using DAX but I cannot find the right combinations of DAX functions and/or nesting to filter, sum, group by, and count distinct. Need some help…
Q2 (Using output from Q1 counts by model the number of equip ID’s
SELECT q1.Model, Count(q1.Model) AS CountOfModel
FROM q1
GROUP BY q1.Model;
Q1 (aggregates multiple equip ID amounts by ID and model when equip ID amounts sum is not $0
SELECT raw.[Equip ID], raw.Model, Sum(raw.[Amount in transaction currency]) AS [SumOfAmount in transaction currency]
FROM raw
WHERE (((Left([Ledger account],1))=4))
GROUP BY raw.[Equip ID], raw.Model
HAVING (((Sum(raw.[Amount in transaction currency]))<>0));
Timothy.**bleep**@zieglercat.com
Solved! Go to Solution.
could you pls provide some sample data and expected output?
Proud to be a Super User!
could you pls provide some sample data and expected output?
Proud to be a Super User!
I have a sample but don't know how to attach an excel file to the reply. Can I email direct to you? Thanks for offering to help.
Tim
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
134 | |
91 | |
90 | |
64 | |
58 |
User | Count |
---|---|
201 | |
137 | |
107 | |
70 | |
68 |