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.
I am try to create a date parameter like can in Qlik Sense, Rshiny, Tableau with the following properties:
P.S. This is kind of a industry standard concept in Business Intellegence at this point.
hi @mlane
https://learn.microsoft.com/en-us/power-bi/transform-model/desktop-date-tables
Date =
ADDCOLUMNS (
CALENDAR (MIN(Fact[Date]), TODAY()),
"Year", YEAR ( [Date] ),
"Qtr", "Q" & FORMAT ( [Date], "Q" ),
"MonthNO", FORMAT ( [Date], "MM" ),
"Month", FORMAT ( [Date], "MMM" ),
"Day",FORMAT ( [Date], "DD" ),
"YYQ", FORMAT ( [Date], "YY" ) & "Q" & FORMAT ( [Date], "Q" ),
"YY/MM", FORMAT ( [Date], "YY/MM" ),
"Weekday", WEEKDAY ( [Date],2 )
)
User | Count |
---|---|
15 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
24 | |
20 | |
12 | |
9 | |
7 |