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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
ovonel
Post Prodigy
Post Prodigy

Avoid "current project" column to appear for every week, but only current week

Hi experts,

 

I have a .pbix where I show current  week + next 2 weeks data…

 

My values:

ovonel_0-1695196892791.png

 

 

Filters:

ovonel_1-1695196910705.png

 

My challenge is that I want to show ‘Current Project’, ‘Proposed Project’ and ‘BIO link’ only for the current week.

 

So, the only solution I found so far, is to manually hide, every time a new week appears:

 

ovonel_2-1695196965142.png

 

 

 

It’s a bit time consuming… has anyone found a simpler solution to this?

 

 

DAX code of ‘Current Project’ and ‘Proposed Project’ respectively:

 

 

CALCULATE (

CONCATENATEX (DISTINCT ( DimProjects[Project] ),        DimProjects [Project],  ", "   ),

    FILTER ( FactStaff, FactStaff [IsConfirmed] = TRUE )

)

 

 

CALCULATE (

 CONCATENATEX (DISTINCT ( DimProjects [Project] ),  DimProjects [Project],  ", "   ),

    FILTER ( FactStaff, FactStaff[IsConfirmed] = FALSE() )

)

 

2 REPLIES 2
v-zhangti
Community Support
Community Support

Hi, @ovonel 

 

Can you provide sample data for testing? Sensitive information can be removed in advance. What kind of expected results do you expect? You can also show it with pictures or Excel. I look forward to your response.

 

Best Regards,

Community Support Team _Charlotte

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

This is what I have:

ovonel_0-1695722351758.png

 

 

 

 

I am trying to have this:

ovonel_1-1695722404102.png

 

 

 

Notice that I do achieve the result I want myself. 

But I achieve it, by hidding the columns (rezizing to 0.001 width manually).

This is very time consuming; and I have to do it every week, because, as expected, the WeekOffset changes...

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.