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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Not applicable

Add 6 months to project start date and sum revenue during/outside those dates

Hi all,


I'm trying to show the end date of a particular project (always 6 months after start), based on whatever site the user selects. When no site is selected, the card should read "Select a site".


PricingProj Date.png

I thought this would work but it's telling me that multiple values were supplied:

PricProj Date +6 Mths = IF(ISFILTERED(MD_Sites[Site_Name]),
                            (DATEADD(MD_Sites[Pricing_Project_Date].[Date], +6, MONTH)),
                            "Select a Site")



I want to be able to calculate when a certain "treatment code" was used within the project dates and outside it - and what the value was for its usage inside the project dates and outside the project dates. Obviously this can only be done at an individual site level as each site has a different project start date (some also have no project start date).


This was my attempt at the sum:



Authorised 13D-25 Rev = 
VAR Pricing_Project_Date = CALCULATE(FIRSTDATE(MD_Sites[Pricing_Project_Date]))
VAR Pricing_project_6Mths = CALCULATE(DATEADD(MD_Sites[Pricing_Project_Date], +6, MONTH))
                            REV_Revenue[TransactionDate] >= Pricing_Project_Date &&
                            REV_Revenue[TransactionDate] <= Pricing_project_6Mths


This is how my site table looks:

PricingProj SiteTable.png


My revenue table has line by line transactions with transaction date.


Any help would be much appreciated!


Kind regards,



Resident Rockstar
Resident Rockstar

Hi @Anonymous ,

If I understand your scenario correctly that you want to create a measure and show with card visual.

Do you create the slicer with  MD_Sites[Site_Name] ?

Will you select the single item in the slicer or mutiple items in the slicer?

If it is convenient, could you share some data sample with table foramt which could reproduce your scenario so that we could copy and have a test on it?

Best  Regards,



Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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


Power BI Monthly Update - May 2024

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


Fabric certifications survey

Certification feedback opportunity for the community.