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
belli
New Member

Dynamic Period vs. other Dynamic Period

Hi!

I'm trying to compare two dynamic periods that the user can select with a slicer :

 

belli_1-1599131341624.png

As a rusult, I would like to have a visual to compare this two periods (hier I have 2 years but I woud like to have period 1 and

period 2)

belli_0-1599132782361.png

 

To Build the slicer I created a table lu_datefilter. It doesn't have any relations to other tables.

In the table lu_etd (Time-Table with all Dates) the calculated column period1 was created. I have expectd, that this column can be calculated depending on the Slicer and can determin the period to which each date belongs. Unfortunetly it doesn't work. As a test I'm trying to see, if the date belong to the period1 or not.

belli_4-1599131724306.png

As a result each date belongs to the period1. Values from the table lu_etd:

belli_6-1599131992026.png

 

What am I missing? Is there another approach to compare two different periods?

Thank you for your help.

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User
4 REPLIES 4
amitchandak
Super User
Super User

@amitchandak, thank you for you sugestion. I think that's it, what I was looking for.

Greg_Deckler
Super User
Super User

@belli - If I am reading correctly, columns are not dynamic based upon user interaction, they are only calculated when you refresh/update the data. You need to use measures for this.


@ 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...

Hi @Greg_Deckler , as I understand it correctly, I can not calculate the value for each row in the table depending on the parameter (slicer). Right? Thank you for your sugestion, Mesure is not working in this case, because i need the value for each row, like Day or Week or Month etc.

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.