Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hi Experts
How could i amend the current measure which work fine in IMPORT mode - to work in DIRECT QUERY Mode...
AOV = CALCULATE(SUM(FACTSalesOrderTable[Gross_Order_Value]),ALLEXCEPT(FACTSalesOrderTable,FACTSalesOrderTable[increment_id]))
@Anonymous , This should work as a measure in direct query , are you facing any issue
AOV = CALCULATE(SUM(FACTSalesOrderTable[Gross_Order_Value]),
ALLEXCEPT(FACTSalesOrderTable,FACTSalesOrderTable[increment_id]))
or
AOV = CALCULATE(SUM(FACTSalesOrderTable[Gross_Order_Value]),
filter(allselected(FACTSalesOrderTable),FACTSalesOrderTable[increment_id] = max(FACTSalesOrderTable[increment_id])))
hi AMit i am getting the following error usinf forst measure and the second measure give the wrong end result.
checking the second formula amit...and thanks
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 56 | |
| 52 | |
| 45 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 108 | |
| 106 | |
| 39 | |
| 33 | |
| 25 |