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
Arne
Frequent Visitor

How to show trend for filtered amounts

 

 

Hi!

I,m somewhat new to Power bi so maybe this is a easy to solve.

 I have made  measure that shows sales amount for products in a matrix if sales above certain level for a day (day comes from a slicer)  and this works fine.  But i also have to view the sales trend in a line chart for filtered products. The problem is that i get more products in the line chart than in the matrix that shows only one day. I think the problem is that in the line char sales for all days is sumarized and compared with the level for what should be displayed. This is only an example but the code for the measure based on attacthed example is

IF(sales>=Filter value then show sales)

 

How to get the line chart trend for all days only for product Cat in my example as sales > filter alue 201-02-24 ?

Filter Example.PNG

 

Br Arne

 

 

 

 

 

 

 

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

HI @Arne ,

You can add a date filter to choose date range for filter records or add a condition to your measure formula to check current date.(if it is last date of current category)

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

1 REPLY 1
v-shex-msft
Community Support
Community Support

HI @Arne ,

You can add a date filter to choose date range for filter records or add a condition to your measure formula to check current date.(if it is last date of current category)

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help 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.