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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
noneother
Frequent Visitor

Using a DAX measure in a table visualisation to return the same scalar value in a new column

Hello

 

I want to use a DAX measure (not a calculated column) as a fourth column (outlined in red, below) within a table visualisation. 

However, my DAX only returns the single row:

 insert3.JPG

DAX = 
VAR varStatusGroup = "Final"
VAR varStatus = "Disposed"

RETURN 
CALCULATE (
    MIN('Status'[Status])
    ,KEEPFILTERS('Status'[Status group] = varStatusGroup)
    ,KEEPFILTERS('Status'[Status] = varStatus)
)

What am I doing wrong?

 

I want:

insert2.JPG

Data model:

New Project (21).png

4 REPLIES 4
VahidDM
Super User
Super User

Hi @noneother 

 

Based on your post and dax you shared, you want to show "Disposed" in the fourth column, so if I got it correctly, try this:

DAX = 
"Disposed"

 

 

Otherwise, can you please add more details?

 

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: 
www.linkedin.com/in/vahid-dm/

 

 

smpa01
Super User
Super User

@noneother  does this work?

CALCULATE (
    MIN('Status'[Status])
    ,'Status'[Status group] = "Final"
    ,'Status'[Status] = "Disposed"
)
Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs

That works but I introduces redundant rows, creating way more than the original 5 rows for Type ID: AEG3ML

@noneother  is it kindly possible to provide a sample pbix please?

Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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

Top Solution Authors