The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi Team,
Here is the question
IF(Jan =01,
(Feb= 02,
(Mar=03.
.
..
..
Dec=12))))))
Please check how we can achieve on the DAX measaure
Solved! Go to Solution.
Hi,
Please check the below picture and the attached pbix file.
month number CC =
FORMAT (
CONVERT (
YEAR ( TODAY () ) & "-" & 'month'[month name] & "-"
& DAY ( TODAY () ),
DATETIME
),
"mm"
)
Hi @krishna_murthy ,
I hope the provided information is helpful. Please let me know if you have any further questions or if you'd like to discuss this further. If this answers your question, please Accept it as a solution and give it a 'Kudos' so others can find it easily.
Thank you
Hi @krishna_murthy ,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If the response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you.
Hi @krishna_murthy ,
I hope the provided information is helpful. Please let me know if you have any further questions or if you'd like to discuss this further. If this answers your question, please Accept it as a solution and give it a 'Kudos' so others can find it easily.
Thank you
Hi,
Please check the below picture and the attached pbix file.
month number CC =
FORMAT (
CONVERT (
YEAR ( TODAY () ) & "-" & 'month'[month name] & "-"
& DAY ( TODAY () ),
DATETIME
),
"mm"
)
If you have a date you can extract with
month( table[date])
Otherwise you will have to use
Switch(
Selectedvalue( table[month name])
,"Jan", 1,
....
)
User | Count |
---|---|
28 | |
11 | |
8 | |
6 | |
5 |
User | Count |
---|---|
35 | |
14 | |
12 | |
9 | |
7 |