The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hello! I am wanting to create a filter on the entire page of the Top N datetime.
I am able to do this on each individual visual... but not the entire page.
I want the page to show the latest date in the dataset when there are no other filters selected.
Solved! Go to Solution.
there is are custom slicer called preselected slicer .
download the sample ( you will use it later on ) .
open the sample you that you ve downloaded.
copy from the sample the table preselectedslicer to your model .
now for the slicer you have 3 values to populate :
in fields --> date
in pre selection --> a measure that we will create it later.
dirty status --> the column isdirtysclier1 ( from the table you copy paste it from the sample )
now simply create the following measure : ( assuming you have a star schema ) that you will add it to the pre selection :
m =
var max_date = max(dimdate[date])
return
switch (
true () ,
iscrossfiltered ( fact_table) ,
if ( selectedvalue(dimdate[date]) , max_date ,1 , 0 ) , 1 )
( dont forget to hide the visual)
hope this helps .
there is are custom slicer called preselected slicer .
download the sample ( you will use it later on ) .
open the sample you that you ve downloaded.
copy from the sample the table preselectedslicer to your model .
now for the slicer you have 3 values to populate :
in fields --> date
in pre selection --> a measure that we will create it later.
dirty status --> the column isdirtysclier1 ( from the table you copy paste it from the sample )
now simply create the following measure : ( assuming you have a star schema ) that you will add it to the pre selection :
m =
var max_date = max(dimdate[date])
return
switch (
true () ,
iscrossfiltered ( fact_table) ,
if ( selectedvalue(dimdate[date]) , max_date ,1 , 0 ) , 1 )
( dont forget to hide the visual)
hope this helps .
User | Count |
---|---|
68 | |
63 | |
59 | |
54 | |
28 |
User | Count |
---|---|
182 | |
81 | |
64 | |
46 | |
38 |