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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anonymous
Not applicable

Make a measure to a calculated column?

I have the next fact:

UserTaskIsC
110010
110020
110031
110031
210010
210020
210031
210031

 

I have a DimUser and DimTask:

 

I wanted to display current Tasks for a User... I have done it as a measure but it doesnt break down by User,..

 

 

Current Tasks:=

CALCULATE (

    CONCATENATEX (

        DISTINCT ( DimTask[Task] ),

        DimTask[Task],

        ", "

    ),

    FILTER ( Fact, Fact[IsC] = TRUE )

)

 

 

How can I make it a Calculated Column?

2 REPLIES 2
tamerj1
Super User
Super User

Hi @Anonymous 

please try

Current Tasks :=
CONCATENATEX (
CALCULATETABLE (
DISTINCT ( Fact[Task] ),
ALLEXCEPT ( Fact, Fact[User] ),
Fact[IsC] = TRUE
),
DimTask[Task],
", "
)

johnt75
Super User
Super User

You can do it as a measure but dim user won't filter dim task, you need to involve the fact table. Try

Current Tasks :=
CALCULATE (
    CONCATENATEX ( SUMMARIZE ( 'Fact', DimTask[Task] ), DimTask[Task], ", " ),
    Fact[IsC] = TRUE
)

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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