Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Tengo un modelo de datos bastante grande y complejo, pero estoy luchando con una fórmula de medida para calcular mis ingresos facturados. Por ejemplo, la tabla siguiente muestra las columnas relevantes de mi conjunto de datos. Estoy tratando de sumar el valor de 'PS_Revenue' sólo cuando la 'Fecha de emisión de la factura' no está en blanco. Como necesito informar de esto basado en la 'Fecha de emisión de factura' (relación inactiva con mi tabla de fechas) y no en la 'Fecha asignada' (relación activa con mi tabla de fechas), necesito que se envuelva en la función CALCULATE con USERELATIONSHIP. He intentado todo lo que se me ocurre en vano. Mi intento fallido actual está por debajo sin embargo, no parece gustar el >< BLANK() que estoy usando para representar 'no es igual a blanco'. Cuando pongo esta medida en un objeto visual de tarjeta, solo obtengo el error FIX THIS.
@ShazzaGreen probar esto
PS_Invoiced = CALCULATE(SUM('BDoD Program'[PS_Revenue]),'BDoD Program'[Invoice Issue Dat]<>BLANK(),USERELATIONSHIP('BDoD Program'[Invoice Issue Dat],'Date Table'[Date]))
Me gustaría❤ elogiossi mi solución ayudara.👉Si puedes pasar tiempo publicando la pregunta, también puedes hacer esfuerzos para dar a Kudos quien haya ayudado a resolver tu problema. ¡Es una muestra de agradecimiento!
⚡Visítenos enhttps://perytus.com, su ventanilla única para proyectos/formación/consulta relacionados con Power BI.⚡
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |