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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Anonymous
Not applicable

Custom Column Header

I have a main table that pulls data from the db. I am using a different table using the same source to use in filter and a third date table where a calculated column formatted in 'mm/dd' is used as column header. 
Now the issue is that, 
I have selected a date '2023-09-03' in the filter the for that date that is '09/03' it should show "A" as column header for all other dates it should show "B" but it is showing B for all. 
Thanks in advance fir the help!

AlishaJosh_0-1704970856071.png

 

4 REPLIES 4
Anonymous
Not applicable

The requirement is not to use it as a filter; but to use it as a second column header (and for that to happen it should come as a calculated column and not a measure)

Anonymous
Not applicable

Hi @Anonymous ,

 

I made simple samples and you can check the results below:

vtianyichmsft_0-1705025894083.png

vtianyichmsft_1-1705025925327.png

If you need to filter, you can set measure to Selected in the filter

Measure = var _s = SELECTEDVALUE('Table 2'[Date])
RETURN IF(MAX('Table'[Date])=_s,"Selected","Unselected")

 

Please feel free to correct me and provide more information if I have misunderstood you!

 

An attachment for your reference. Hope it helps!

 

Best regards,
Community Support Team_ Scott Chang

 

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

 

Anonymous
Not applicable

That is the requirement; that it should show "A" for the selected value in the filter and for other it should show "B"

lukiz84
Memorable Member
Memorable Member

"It should show A" - where is that defined?

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

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.