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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
NadaBen
Helper I
Helper I

make a trend based on two measures

Hello Team,

I need help to resolve my issue.

 

I want to make  a trend of a measure, so i calculated two measure :

- Measure 1: Taux de disponibilité catalogue élargi passé ; for current measure, based on table 1

-Measure 2 : Taux de disponibilité catalogue élargi futur : for projected meausres, based on table 2

 

Captureo.PNG

Prob 1 : I want to assign my measure 1 exclusively for my current day which is : 7 mai ( the day in snapshot day of table 1), so that i cannot see this measure on my grapfic for other days. (see graphic)

Capturep.PNGCapturegh.PNG

 

Prob 2 : When i try to drag just common period day to axis, i can no longer see the evolution of my measure 2 in time (14-mai till 18 Juin) ( see graphic below)

Capturekk.PNG

 

Your help would be precious. Thanks in advance

4 REPLIES 4
v-ljerr-msft
Employee
Employee

Hi @NadaBen,

 

Could you post the formulas for your measures you're using? It's better that you can also share a sample pbix file, so that we can better assist on this issue. You can upload it to OneDrive or Dropbox and post the link here. Do mask sensitive data before uploading. Smiley Happy

 

Regards

Hi @v-ljerr-msft

I made an excel sheet with samples of tables, meaures and calculated columns, and relations. I hope that i have been clear. I couldn't share the pbix, because the entire file is confidential, and the data model is too big so it wouldn't been clear enough to understand exactly what want.

 

I'm very thankfull for your help because i'm really stuck for days .

 

https://drive.google.com/drive/folders/0BwbSVJQB7uVJamFyWlJFc1M0aDA

Greg_Deckler
Super User
Super User

Could you create a third measure along the lines of:

 

Measure 3 = IF([Snapshot.Day] = "7 mai", Measure1,Measure2)

@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

I tried the formula, it doesn't work, now i have no graphic 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.