This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is now in read-only for platform upgrade. 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
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 23 | |
| 22 | |
| 14 | |
| 14 | |
| 13 |
| User | Count |
|---|---|
| 47 | |
| 39 | |
| 24 | |
| 20 | |
| 20 |