Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
qwk
Helper I
Helper I

Total en ejecución - Fuente de datos SSAS MutiDimensional Cube

Hola

Me gustaría crear una fórmula para calcular un total en ejecución en un informe de Power BI. El origen es un DataSet que tiene una conexión directa a un cubo multidimensional SSAS. Traté de usar Medida rápida, pero en vano. Desafortunadamente, no me gustaría resolver esto creando la medida en el cubo.

He buscado una solución, pero no puedo encontrar nada.

¿Puede alguien ayudar a crear una fórmula DAX para lograr el siguiente resultado con se ordena por valor y no por SalesRep ?

FUENTE DE DATOS

CUBO MULTIDIMENSIONAL

Filtro 1 :

Año(2019)

Filtro 2 :

SalesRep A

SalesRep B

SalesRep C

SalesRep D

SalesRep E

SalesRep F

Ordenar por valor neto

SalesRepName

Valor neto de ventas

Total en ejecución

SalesRep E

30,000

30,000

SalesRep B

50,000

80,000

SalesRep A

100,000

180,000

SalesRep D

200,000

380,000

SalesRep C

400,000

780,000

SalesRep F

600,000

1,380,000

Total

1,380,000

1,380,000

9 REPLIES 9
qwk
Helper I
Helper I

Hi,

 

Is there an expert out ther who can help me solve this issue.

 

Please keep in mind that the data source is OLAP .. I need a Running Total Formula in Power BI on an OLAP Measure.

 

N.B. DAX Sum function does not work on a measure having OLAP as a data source.

 

Thanks

FarhanAhmed
Community Champion
Community Champion

Me temo que, si usa la conexión en vivo, no puede crear medidas en Power BI Desktop

debe crear un miembro de medida/calculado en el cubo SSAS para ejecutar el total.

https://social.msdn.microsoft.com/Forums/sqlserver/en-US/d61a6355-48af-4bbd-8ceb-e65a86ac75c1/mdx-ru...







Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!

Proud to be a Super User!




Thanks for your feedback.

 

I have created a dataset connected to a live connection to Olap using the gateway.

 

I build my reports of the dataset which in turn I am able to create formual on OLAP measures, simple measures or a bit more complex such as "Percentage Of Totals".

 

Now I need to find a way to create a running total, I am sure there is a solution.

 

Regards

 

FarhanAhmed
Community Champion
Community Champion

No puede crear miembros calculados en Power BI Desktop mediante la conexión en vivo que normalmente crea en las herramientas OLAP de Excel.

por desgracia, es necesario crear tales cálculos a nivel SSAS.







Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!

Proud to be a Super User!




If you read the full thread you will see that  I am able to create fomulas with a live connection to OLAP THROUGH A DATASET USING A GATEWAY.

 

THANKS

v-yiruan-msft
Community Support
Community Support

Hola @qwk ,

En primer lugar, seleccione el objeto visual relacionado en el que desea ordenar los datos. A continuación, seleccione su menú Más opciones (...) en la esquina superior derecha, seleccione Ordenar pory, a continuación, seleccione el campo por el que desea ordenar.

Ordenar por columna en Power BI Desktop

Running Total.JPG

Saludos

Rena

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi,

 

I need to create a running total fomula connecected to a muti-dimensional cube not sort by the Running total.

 

Thanks & Regards

amitchandak
Super User
Super User

@qwk, intenta como

Ventas de Cumm: CALCULATE(SUM(Table[net Sales]),filter(all(Table),Table[net Sales] <-max(Table[net Sales])))

Unfortunately since the data source is a multi-dimensional cube the SUM function doe not work.

 

Thanks

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.