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! Request now

Reply
Anonymous
Not applicable

Creating a view depending on the chosen date field input

Hi

 

I'm trying to create a view where I will be able to visualize objects and their leaders depending on the actual month +-N months. Could someone please advise about how it should be done?

 

The result that I am expecting is something that lookes like this, and I hope to make the text dynamic.

coco123_0-1658333561968.png

Slicers:

 

  • Date: 1) start date 2) end date (indicates what date should be used for showing the data in the table).
  • Input value for N months (so the user decides how many months should the view be for)

 

 

Tables:

coco123_1-1658336339171.png

 

Example from All Data table:

KeyCreation DateObject SummaryLeaderStart DateEnd Date
ICCIT-572021-11-20Object 1Ann Smith2021-12-202022-05-10
ICCIT-582019-01-18Object 2John Seller2019-01-202020-01-01
ICCIT-592020-06-15Object 3Carin Sampson2020-08-152021-05-20
ICCIT-602020-09-20Object 4Ann Smith2020-09-212021-09-19
ICCIT-612021-01-05Object 5John Seller2021-01-212022-08-21
ICCIT-622020-02-17Object 6Carin Sampson2020-02-282021-04-13
ICCIT-632021-02-18Object 7Ann Smith2021-12-182022-07-03
ICCIT-642022-02-10Object 8John Seller2022-02-152023-11-21
ICCIT-652019-09-12Object 9Carin Sampson2019-10-122019-03-15
ICCIT-662019-09-18Object 10Josh Wellington2019-09-252019-06-10

 

 

 

Thanks beforehand!

 

 

4 REPLIES 4
Anonymous
Not applicable

Thanks, but this is not exactly what I need. I have managed to solve the main part of the problem, but Im struggling with allowing the user choose what type of date the data should be shown for.

 

What I did: I have created calculated columns for +1,-1 and current month which serve as filters for the three tables. So I am now able to show 3 tables showing the name of objects & Leader with a end date in current month, +1 month, and -1 month from the current month.

 

Goal: I would like for user to be able to choose which type of date should the tables visualize - start or end date.

 

User input: deciding whether Start date or End date should be used

 

Desired Output:

Table 1 (current month) - shows Project leader and Object and date which have the end/start date in the current month.

Table 2 (plus 1 month)-shows Project leader and Object and date which have the end/start date in the next month.

Table 3 (minus 1 month) - shows Project leader and Object and date which have the end/start date in the previous month.

 

Is it something that can be done in Power BI, Im still very new to the tool?

Anonymous
Not applicable

@Anonymous can you provide the desired look or output you are expecting?

Anonymous
Not applicable

Something like this! Hope it makes sense

 

coco123_1-1658338563530.png

 

 

 

Hi, @Anonymous 

 

Please check the following methods to see if they help.

Table:

Date = CALENDAR(MIN('Table'[Start Date]),MAX('Table'[End Date]))

Measure:

Measure =
IF (
    SELECTEDVALUE ( 'Table'[Start Date] ) >= MIN ( 'Date'[Date] )
        && SELECTEDVALUE ( 'Table'[End Date] ) <= MAX ( 'Date'[Date] ),
    1,
    0
)

Put Measure into Filter and set it equal to 1. At this point the view will filter the data within the slicer time range.

vzhangti_0-1658741464820.png

 

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.

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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