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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 35 | |
| 34 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 137 | |
| 102 | |
| 71 | |
| 67 | |
| 65 |