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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Medida incremental a partir de otra medida

Hola, tengo un problema con una medida acumulativa que no me acumula según requerimiento. He leído el foro y no hay nada similar. Mi problema es que necesito que sesiones agg, sea incremental

 

taa =
VAR vTableID =
    SUMMARIZE( Sesiones, Sesiones[LApp], Sesiones[timestamp.1], Sesiones[session_Id],
                "Rank", RANKX(ALL(Sesiones), Sesiones[N Sesiones])
    )
VAR vTableWithMeasure =
    ADDCOLUMNS ( vTableID, "Sesiones Agg", Sesiones[N Sesiones] )
    return
    vTableWithMeasure
 
 
Añado unos datos que tengo de ejemplo
PPDiaz1978_0-1661497802068.png

 

3 REPLIES 3
Anonymous
Not applicable

En realidad busco ésta medida, pero necesito arreglar el paso previo con ese campo incremental para que funcione bien el percentil

 

 

Valor Percentil =
        VAR vTableID =
            SUMMARIZE( Sesiones, Sesiones[LApp], Sesiones[timestamp.1], Sesiones[session_Id],
                        "Rank", RANKX(ALL(Sesiones), Sesiones[N Sesiones])
            )
        VAR vTableWithMeasure =
            ADDCOLUMNS ( vTableID, "Sesiones Agg", Sesiones[N Sesiones] )
VAR vResult =
    PERCENTILEX.INC (
        vTableWithMeasure,
        [Sesiones AGG],
        [Valor Percentiles]
    )
RETURN
    vResult
Anonymous
Not applicable

Hi @Anonymous 

 

vcgaomsft_1-1661824481457.png

Please provide sample data that completely covers the question, with expected output, thanks in advance!

How to provide sample data in the Power BI Forum

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly -- How to provide sample data

Anonymous
Not applicable

I need measure Target. I have Date, LApp, Count Measure How can I have this measure Target?

 

PPDiaz1978_0-1661843825066.png

 

 

Valor Percentil =
        VAR vTableID =
            RESUMEN ( Sesiones, Sesiones[LApp], Sesiones[Date], 
                        "Measure Target" RANKX TODAS (Sesiones), Sesiones[Count Measure])
            )
VAR vResultado =
    PERCENTILEX.INC (
        vTableID ,
        [Measure Target],
        [Percentiles de valor]
    )
DEVOLVER
    vResultado
 
First, I need a temporal table that have Measure Target 
Finally, I need to take the percentil X to be able to report this KPI
 
But first, I think I need to obtain the Target Measure before to calculate the percentil
Thx

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.