Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have a sales table that consist [date,sales amount] There is sales date from 2024 and 2025
I have date table that consist [date, year, month, day, week, weekyear(custom column to show year does the week belongs to example date 31st December 2024 , week year is 2025 because it is week1 of 2025). The table consist date from 2019 to 2025
everything is working correctly including the custom column weekyear. Until if i place my measures with weekyear, it is not returning the correct thing. It starts showing year 2019 to 2025 even if I do not have any sales data from 2019 to 2023.
Below are my measures
if i am using year and week in the visuals, logically are correct, because it did not include year from 2019 to 2023. When i use week with the custom week year, it will start display values from 2019 to 2025.
I tried my custom column with the data directly from the sales table, it works fine. Just problem with my measures
Solved! Go to Solution.
Hi,
I am not sure if I understood your question correctly, but please try using KEEPFILTERS DAX function in the measures that you wrote.
KEEPFILTERS function (DAX) - DAX | Microsoft Learn
Hi,
I am not sure if I understood your question correctly, but please try using KEEPFILTERS DAX function in the measures that you wrote.
KEEPFILTERS function (DAX) - DAX | Microsoft Learn
Thank you very much, after days of research, debugging, and your simple "Keep Filters" finally solved my headache.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
26 | |
10 | |
10 | |
9 | |
6 |