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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Raul
Post Patron
Post Patron

Current column value of a row

Dear forum,

I have this matrix visualization:

 

 

CUSTOMER AREA COLAmountLastDate(Description)
CUS1  1625,00 DESCRIPTION1
 Area1 1475,00 DESCRIPTION1
  CB100,00 
  CC50,00 
  PF25,00 
  F001100,00DESCRIPTION2
  F00X1200,00DESCRIPTION1
 Area2 150,00 
  DM150,00 
Total  1625,00 DESCRIPTION1

 

Where LastDate(Description) it's the Description column in the values panel with a Last aggregate function. I need a measure or a column with this condition:

If COL = "F00X" then LastDate(Description) else nothing

 

To get this result:

 

CUSTOMER AREA COLAmountLastDate(Description)
CUS1  1625,00 
 Area1 1475,00 
  CB100,00 
  CC50,00 
  PF25,00 
  F001100,00 
  F00X1200,00DESCRIPTION1
 Area2 150,00 
  DM150,00 
Total  1625,00 

 

What should be the expression of the measure?

 

Thank you

1 ACCEPTED SOLUTION
Raul
Post Patron
Post Patron

I have found the solution:

LastDate(Description)= IF(SELECTEDVALUE(Table1[COL])="F00X";LASTNONBLANK(Table1[COL];SELECTEDVALUE(Table1[COL])="F00X");BLANK())

 

Smiley Very Happy

 

View solution in original post

2 REPLIES 2
Raul
Post Patron
Post Patron

I have found the solution:

LastDate(Description)= IF(SELECTEDVALUE(Table1[COL])="F00X";LASTNONBLANK(Table1[COL];SELECTEDVALUE(Table1[COL])="F00X");BLANK())

 

Smiley Very Happy

 

But if I want to show only the value in the Area group, like this:

 

CUSTOMER AREA COLAmountLastDate(Description)
CUS1  1625,00 
 Area1 1475,00 DESCRIPTION1
  CB100,00 
  CC50,00 
  PF25,00 
  F001100,00 
  F00X1200,00 
 Area2 150,00 DESCRIPTION1
  DM150,00 
Total  1625,00 

 

How do I do it?

Thanks

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.

Top Solution Authors