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.
Good morning,
I have a strange behaviour in my Excel Pivot, for testing purposes I use a very simple measure:
ETO:=IF(ISFILTERED(Calendar), 1, BLANK())
When I drag this field to a Pivot Table with nothing else present, my dim dimensions are all greyed out in my slicer (because date is not filtered, hence BLANK()).
When I add a timeline slicer for my calendar table, and filter to one date, the measure correctly displays "1", but the dimension fields are still greyed out (indicating no data) but when I select them, they work correctly (but the dimensions stay greyed out).
What do I do wrong here?!
Thanks and BR
Solved! Go to Solution.
Hi,
just wanted to let you know that Alberto Ferrari answered my question on sqlbi.com. Long story short, it's a bug in Excel.
"It seems to be a problem specific to the timeline filter. If you inspect the MDX queries, you will notice that the query that populates the CompanyID slicer does not feel the filter on the date, if that is coming from a timeline. If, instead of a timeline, you use a regular slicer by date, then it will work just fine.
Not feeling the filter on the date, your measure always returns blank, resulting in the graying out of the items"
Case closed.
Hi,
just wanted to let you know that Alberto Ferrari answered my question on sqlbi.com. Long story short, it's a bug in Excel.
"It seems to be a problem specific to the timeline filter. If you inspect the MDX queries, you will notice that the query that populates the CompanyID slicer does not feel the filter on the date, if that is coming from a timeline. If, instead of a timeline, you use a regular slicer by date, then it will work just fine.
Not feeling the filter on the date, your measure always returns blank, resulting in the graying out of the items"
Case closed.
@lukiz84 , I think you need to use column name
ETO:=IF(ISFILTERED(Calendar[Date]), 1, BLANK())
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Hi, thanks for your swift reply. It doesn't change when I use column name.
(I'm working with SSAS Tabular, comp level 1500)
I've uploaded a very simple example but it perfectly shows my problem. As you can see the measure calculates correctly, but the slicer still greys out everything (though selectable)
thx and BR
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
39 | |
21 | |
21 | |
14 | |
13 |
User | Count |
---|---|
44 | |
32 | |
30 | |
18 | |
17 |