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.
Hi There ;
İ need your kind supports for to create table B as below , i have a table named "Table A" as below , i want to put a dynamic filtre as below ;
Thanks in advance for your kind supports
Solved! Go to Solution.
Hi @erhan_79 ,
You can create a measure with below code and use it as filter on your table visual:-
_filter =
VAR start_date =
TODAY () + 4
VAR end_date =
TODAY () + 8
RETURN
IF (
MAX ( 'Table (2)'[Delivery date] ) >= start_date
&& MAX ( 'Table (2)'[Delivery date] ) <= end_date,
1,
0
)
Thanks,
Samarth
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Hi @erhan_79 ,
You can create a measure with below code and use it as filter on your table visual:-
_filter =
VAR start_date =
TODAY () + 4
VAR end_date =
TODAY () + 8
RETURN
IF (
MAX ( 'Table (2)'[Delivery date] ) >= start_date
&& MAX ( 'Table (2)'[Delivery date] ) <= end_date,
1,
0
)
Thanks,
Samarth
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
@erhan_79 , if you select a date and want to dates more than that then that selected date should come from an independent date table
//Date1 is independent Date table, Date is joined with Table
new measure =
var _max = maxx(allselected(Date1),Date1[Date]) +8
var _min = _max -4
return
calculate( sum(Table[Qty]), filter('Date', 'Date'[Date] >=_min && 'Date'[Date] <=_max))
Need of an Independent Date Table:https://www.youtube.com/watch?v=44fGGmg9fHI
thanks for your reply but , i dont want to calculate a sum , just imagine that in a table visual i show table A , but i want to create another visual table as Table B and i want to show only filtered dates and quantities.
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 |
---|---|
113 | |
99 | |
80 | |
70 | |
59 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |