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 is it possible to do like table above ?
I need to create a slicer for last day, last 30 days and last month for very month in all values in one table not only one measure
Thank
hi, calculated column.
didnt do exactly as you specified but you will get the concept.
=var _Today = TODAY()
return
SWITCH(TRUE(),
Table1[date]=_Today,"Today",
DATEDIFF(Table1[date],_Today,DAY)<=30,"Last 30",
"Other")
User | Count |
---|---|
28 | |
12 | |
8 | |
7 | |
5 |
User | Count |
---|---|
34 | |
15 | |
12 | |
7 | |
6 |