Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills 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

PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

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

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors