Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
I want to display the data according to the selected values from Date Type, then accordingly the Date slicer filters the data in the table. If a user selects order date, then the date range selection should filter the table for order date.
Thanks,
Solved! Go to Solution.
In visual filter pane, filter Quantity so it doesn't show blank.
Moving forward, it is a good practice to share a sample data (that can be copy pasted to enter data) that best represents your use case rather than a simplified one.
Hi,
Share the download linnk of the PBI file.
Hi @snaseem ,
For this, I'd create a disconnected dates table (no relationship to fact) and a measure that switches between order and shipping date based on a slicer selection. Sample measure
Quantity =
SWITCH (
SELECTEDVALUE ( DateType[DateType] ),
"Order",
CALCULATE (
SUM ( 'Table'[Qty] ),
FILTER ( 'Table', 'Table'[Order Date] IN VALUES ( Dates2[Date] ) )
),
"Shipping",
CALCULATE (
SUM ( 'Table'[Qty] ),
FILTER ( 'Table', 'Table'[Shipping Date] IN VALUES ( Dates2[Date] ) )
)
)
Please see attached sample pbix
@danextian thanks, this worked. but I saw problem here. When I filter ship date from 1/06/2023 slicer, the ship date columns reflect date starting from 01/07/2023, I understand there is no data on this date, can it be fixed?
Hi. What do you mean by there's no data? This screenshot shows that there is
I have other columns as well to input in the table like amount, cost, shipping amount etc. When I add those details with measure, it does not work. Any idea how to handle this?
In visual filter pane, filter Quantity so it doesn't show blank.
Moving forward, it is a good practice to share a sample data (that can be copy pasted to enter data) that best represents your use case rather than a simplified one.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 97 | |
| 71 | |
| 50 | |
| 47 | |
| 44 |