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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

USE Tableau LOD expression in PBI

hi, my comapany migration Tableau to PBI.
What I am trying to create is as follows.

there are Call ID, Detail ID & Product

jhlee2611_0-1705159862171.png

The result I desire is as follows.

jhlee2611_3-1705160356079.png

 


but with follow expression, i got anoter result

N Product Call=
        CALCULATE(
            DISTINCTCOUNT('table'[Detail ID]),
            ALLEXCEPT('table','table'[Call ID])
        )

 

jhlee2611_4-1705160376275.png

 


follow is Expession that i used in Tableau
{Fixed [Call ID] : countd[Detail ID]}

How Can i get correct result? please help.

 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Power BI does not have a concept of dynamic buckets.  You need to bring your own.

N Product Call = {{1},{2},{3}}

Then you can do a cartesian with your Product Names, and add the measure

 

Detail(#) =
COUNTROWS (
    FILTER (
        ADDCOLUMNS (
            VALUES ( 'Table'[Call ID] ),
            "ct", CALCULATE ( COUNT ( 'Table'[Detail ID] ), REMOVEFILTERS ( 'Table'[Product] ) )
        ),
        [ct] = SELECTEDVALUE ( 'N Product Call'[Value] )
    )
)

 

lbendlin_0-1705183670403.png

See attached

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

Power BI does not have a concept of dynamic buckets.  You need to bring your own.

N Product Call = {{1},{2},{3}}

Then you can do a cartesian with your Product Names, and add the measure

 

Detail(#) =
COUNTROWS (
    FILTER (
        ADDCOLUMNS (
            VALUES ( 'Table'[Call ID] ),
            "ct", CALCULATE ( COUNT ( 'Table'[Detail ID] ), REMOVEFILTERS ( 'Table'[Product] ) )
        ),
        [ct] = SELECTEDVALUE ( 'N Product Call'[Value] )
    )
)

 

lbendlin_0-1705183670403.png

See attached

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

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.