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
Sowmiya
Helper III
Helper III

DAX

Hi Community,
Help me with the DAX. 
This is my raw data in single table.
1.1.png

X-Axis vs Y-Axis is the required Bar Chart. Have given you what is X-Axis and What is in Y-Axis. This can be Done with DAX.

1.2.png


Date Slicer is Dynamic. When we change the date in filter, X-Axis and Y-Axis must change According. For sample, I have sliced date 2 times and Showed the Change in X-Axis and in Y-Axis.

Appreciating any response.
Thanks in Advance.
Ambhika

1 ACCEPTED SOLUTION
v-yulgu-msft
Employee
Employee

Hi @Sowmiya ,

 

As we can only add columns onto chart X-axis, columns are static, which cannot be calculated conditionally based on slicer selection. For above output, it is not achievable now.

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
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-yulgu-msft
Employee
Employee

Hi @Sowmiya ,

 

As we can only add columns onto chart X-axis, columns are static, which cannot be calculated conditionally based on slicer selection. For above output, it is not achievable now.

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
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.