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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Anonymous
Not applicable

Help migrating form from Tableau to PowerBi

Hello, sorry to bother you all guys, but I'm struggling with this and can't figure out how to solve it.

I have this formula of a calculated column from tableau:

ivoferrari_0-1651666117410.png

 

I'm trying to replicate it and do the same en power bi, but I can't get it to work properly since I cant replicate in a column the use of MAX and FIXED, I tried this but I don't know if its correct and it's missing the MAX also:

ivoferrari_1-1651666186961.png

 

Could somebody give me a hand?

Thank you very much!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi  @Anonymous ,

You can use the MAXX function instead:

https://docs.microsoft.com/en-us/dax/maxx-function-dax

SEMAFORO EPICA =
VAR AUX =
    SWITCH (
        'JIRA_INGENIERIA_FEATURES'[JIRA_INGENIERIA_EPICAS.ESTADO],
        "Cerrado", 0.1,
        "Cancelado", 0.11,
        "En espera", 0.5,
        IF (
            'JIRA_INGENIERIA_FEATURES'[SEMAFORO FEATURE] = 2
                || 'JIRA_INGENIERIA_FEATURES'[SEMAFORO FEATURE] = 3,
            'JIRA_INGENIERIA_FEATURES'[SEMAFORO FEATURE],
            1
        )
    )
RETURN
    MAXX (
        FILTER (
            ALL ( JIRA_INGENIERIA_FEATURES ),
            'JIRA_INGENIERIA_FEATURES'[JIRA_INGENIERIA_EPICAS.ESTADO]
                = MAX ( 'JIRA_INGENIERIA_FEATURES'[JIRA_INGENIERIA_EPICAS.ESTADO] )
        ),
        AUX
    )

 

Best Regards,

Liu Yang

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

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi  @Anonymous ,

You can use the MAXX function instead:

https://docs.microsoft.com/en-us/dax/maxx-function-dax

SEMAFORO EPICA =
VAR AUX =
    SWITCH (
        'JIRA_INGENIERIA_FEATURES'[JIRA_INGENIERIA_EPICAS.ESTADO],
        "Cerrado", 0.1,
        "Cancelado", 0.11,
        "En espera", 0.5,
        IF (
            'JIRA_INGENIERIA_FEATURES'[SEMAFORO FEATURE] = 2
                || 'JIRA_INGENIERIA_FEATURES'[SEMAFORO FEATURE] = 3,
            'JIRA_INGENIERIA_FEATURES'[SEMAFORO FEATURE],
            1
        )
    )
RETURN
    MAXX (
        FILTER (
            ALL ( JIRA_INGENIERIA_FEATURES ),
            'JIRA_INGENIERIA_FEATURES'[JIRA_INGENIERIA_EPICAS.ESTADO]
                = MAX ( 'JIRA_INGENIERIA_FEATURES'[JIRA_INGENIERIA_EPICAS.ESTADO] )
        ),
        AUX
    )

 

Best Regards,

Liu Yang

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

Anonymous
Not applicable

Thank you so much! It worked great!

amitchandak
Super User
Super User

@Anonymous for fixed LOD, You have use allexcept with fact /central tbale

 

example

, calculate([Net], allexcept (sales, Item[Brand], Geo[City]) )

 

Try

LOD- FIXED (Level of Details) - Revisited: https://youtu.be/hU-cVOwDCvY

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Hello! Yes, I'm using it, but my question remains for the MAX, how can I include it and do as the formula in tableau? If I try to copy it to DAX i cant

ivoferrari_0-1651667396824.png

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

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.