Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I get my data from Mycrosoft Dynamics. How can I change the second and third columns below.
For the second is fequency:
if 100000 = quarterly
if 100001 = six-month
if 100002 = annually
For the 3rd column: Each number is a month.
How can I change
If =1 then January,
if =2, then February and so on....
Thanks!!!
Solved! Go to Solution.
You can add two columns like:
= Table.AddColumn(PriorStepOrTableName, "Frequency", each if [ax_reviewfrequency] = "10000000" then "quarterly" else if [ax_reviewfrequency] = "10000001" then "six-month" else "annually", type text)
= Table.AddColumn(PriorStepOrTableName, "Month Name", each Date.MonthName(#date(1, [ax_annualistheendof], 1)), type text)
--Nate
You can add two columns like:
= Table.AddColumn(PriorStepOrTableName, "Frequency", each if [ax_reviewfrequency] = "10000000" then "quarterly" else if [ax_reviewfrequency] = "10000001" then "six-month" else "annually", type text)
= Table.AddColumn(PriorStepOrTableName, "Month Name", each Date.MonthName(#date(1, [ax_annualistheendof], 1)), type text)
--Nate
Many thanks @Anonymous 😁
@Anonymous Maybe calculated columns like:
Frequency Column =
SWITCH([ax_reviewfrequency],
100000,"quarterly",
100001,"six-month",
"annually"
)
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 19 | |
| 9 | |
| 8 | |
| 7 | |
| 6 |