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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
Anonymous
Not applicable

How to show values only for visible date

I have created following measure that showing only Employee_Capacity in column 5:

Employee_Capacity =

VAR WeekdayTable = FILTER ( DIM_DATE, DIM_DATE[T_Day_Of_Week_No] = 5 )

RETURN

    SUMX (

        WeekdayTable,

        [Employee Capacity]

    )

 

Rahilu_0-1622068232721.png

 

But Like to show Employee_Capacity for Roster_hours only visible for Start_Of_Week_Date as follows:

 

Rahilu_1-1622068326795.png

How can I accomplish this task? I need help please.

Cheers

Rahil

2 REPLIES 2
Anonymous
Not applicable

Hi Ashish,
Thanks for your prompt reply. I haven't test it yet. I will let you know if it works.

cheers

Ashish_Mathur
Super User
Super User

Hi,

Does this work

Employee_Capacity =

VAR WeekdayTable = FILTER ( DIM_DATE, DIM_DATE[T_Day_Of_Week_No] = 5 )

RETURN

    IF(ISBLANK([Working hours]),BLANK(),SUMX (

        WeekdayTable,

        [Employee Capacity]

    ))

I have assumed that Working hours is a measure.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.