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 August 31st. Request your voucher.
Hi team,
I have date column in my table, in that date column i need to show "Latest date" text in place of max date row....
I have used calculated column with below dax....
Column=
IF('table'[date]=MAX('table'[date]), "Latest_date",FORMAT('table'[date],"MM/DD/YYYY")
But it is taking data type as text....
When i used this column in slicer i am not getting exact values
@Basava , A column can not take slicer value. So max/latest selected date in a measure is
Max = maxx(allselected(Table) , Table[Date])
This can be used by measures for filtering
In table column you can only have static one for selection
example
if([Date] = Max(Table[Date]), "Latest", [Date] & "")
In this case you can save slicer on Latest
Hi,
In this case i have used calculated column with the help of below dax
If(table[date]=max(table[date]),"latest",[date]))
But it is showing data type as text,
I have used this in slicer and selected "latest" and data is not filtering correctly
If i used date colunmn in slicer, it is giving correct results......
Here my concern is using calculated column in slicer is correct or not if useing calculated column in slicer is correct means how can we create......
I have several measures used in report with the help of "table" date column and filtering with calculated column is not giving proper output
User | Count |
---|---|
25 | |
12 | |
8 | |
8 | |
7 |
User | Count |
---|---|
27 | |
12 | |
12 | |
12 | |
6 |