Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi,
I am trying to create a measure to calculate the first date of a month based on the last date selected in a date slider - e.g. if the end of the slider shows 21/03/2023 I want to return 01/03/2023 (dates are in DD/MM/YYYY format). I also have other slicers in the dashboard such as region, customer name etc.
This is what I'm using currently;
Solved! Go to Solution.
Hi,
It seems that you only have a single table which contains all your data such as Date, Customer etc.
To have your issue fixed, you just need to create separate dimensions (date dimension, customer dimension etc.) and make realtionship between those and you main table.
In this way, once you filter a region or another field, it won't affect your date and actually does not filter it. So your measure would work as you expect.
Hi,
It seems that you only have a single table which contains all your data such as Date, Customer etc.
To have your issue fixed, you just need to create separate dimensions (date dimension, customer dimension etc.) and make realtionship between those and you main table.
In this way, once you filter a region or another field, it won't affect your date and actually does not filter it. So your measure would work as you expect.
Thank you Loran, that did the trick!
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
15 | |
10 | |
10 | |
10 | |
10 |
User | Count |
---|---|
19 | |
14 | |
13 | |
11 | |
8 |