Aquí está mi declaración de caso en SQL
CASO CUANDO T4. SALES_CHANNEL IN (X,Y,Z) ENTONCES SUM(T3. CUSTID)/SUM(T2. TRANID)
ELSE SUM(T1. TICKETID)/SUM(T2. TRANID)
ELSE 0 END AS NEW_RATIO
Empecé con este DAX, pero no puedo conseguir el cambio o SI trabajo aquí
NEW_RATIO- DIVIDE(SUM(T1. TICKETID),SUM(T2. TRANID),0)
Solved! Go to Solution.
Tratar
•If(T4[SALES_CHANNEL] IN ?X,Y,Z',divide(SUM(T3[CUSTID]),SUM(T2[TRANID])),divide(SUM(T1[TICKETID]),SUM(T2[TRANID])))SUM(T1[TICKETID]),SUM(T2[TRANID])))
Tratar
•If(T4[SALES_CHANNEL] IN ?X,Y,Z',divide(SUM(T3[CUSTID]),SUM(T2[TRANID])),divide(SUM(T1[TICKETID]),SUM(T2[TRANID])))SUM(T1[TICKETID]),SUM(T2[TRANID])))
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Mark your calendars and join us on Thursday, June 30 at 11a PDT for a great session with Ted Pattison!