The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.
User | Count |
---|---|
136 | |
101 | |
101 | |
72 | |
58 |
User | Count |
---|---|
263 | |
121 | |
114 | |
93 | |
85 |