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
Kopek
Helper IV
Helper IV

DAX measure help

Hi, I do have issue with building two Dax measures:

 

I do have a simple data set looking like below:

 

DateAttributeValue (decimal numebr)
dd/mm/yyyyCat 1X.XX
dd/mm/yyyy

Cat 1

X.XX
dd/mm/yyyyCat 1 X.XX
dd/mm/yyyyCat 2 X.XX
dd/mm/yyyyCat 2 X.XX
dd/mm/yyyyCat 2 X.XX
dd/mm/yyyyCat  3 X.XX
dd/mm/yyyyCat 3 X.XX
dd/mm/yyyyCat 3 X.XX
dd/mm/yyyyLine  X.XX
dd/mm/yyyyLine X.XX

 

 

I am facing 2 issues:

 

1. Date column is a slicer on a top of the page with Q+Y, what we want to achieve is, when using this slicer on area chart below we want to see snapshot of data finishing at particular quarter.
Meaning that if Q1 2020 is choosen we do not want to see only Q1 2020 data, but all historical data ending at Q1 2020.

 

2. Attribute column is used as another slicer (showing all attributes exepct "Line") we want to filter the area chart by all available categories, but we do want to have values assigned to "Line" to be always visible on area chart (regardless the slicer selection) - so that line values can be compared with choosen category.
The expected outcome is on the screenshot below (assuming that cat 1 is selecteg on attibute slicer)area.jpg

 

Let me know if something is uncelar.

 

Thank you in advance.

1 ACCEPTED SOLUTION
v-lionel-msft
Community Support
Community Support

Hi @Kopek ,

 

Is it like this?

 

v-lionel-msft_0-1619166758426.pngv-lionel-msft_1-1619166770922.png

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-lionel-msft
Community Support
Community Support

Hi @Kopek ,

 

Is it like this?

 

v-lionel-msft_0-1619166758426.pngv-lionel-msft_1-1619166770922.png

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.