Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi All,
Need to filter data in one visual like yesterday 5:00PM to Today 6:00PM based on Stardate and starttime columns.
please help me with logic
Thanks in advance !!!!
Ravi
@Anonymous , Try like
Measure =
var _max = today()
var _t1 =_max + time(18,0,0)
var _t0 =(_max -1 )+ time(17,0,0)
return
calculate(Sum(Table[Value]),filter(Allselected(Table), Table[Datetime]>= _t0 && Table[Datetime]<= _t1))
Hi @Anonymous
try to create a column
isFiltered =
IF(
(Table[Startdate] = TODAY()-1 && Table[Starttime] >= TIME(17,0,0) ) ||
(Table[Startdate] = TODAY() && Table[Starttime] <= TIME(18,0,0) ),
TRUE(),
FALSE()
)
then add this Column to visual filters and filter by True
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
133 | |
76 | |
53 | |
38 | |
37 |
User | Count |
---|---|
202 | |
80 | |
71 | |
55 | |
48 |