Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi Everyone,
I am having a trouble to solve a situation. i have a slicer with month names from a table named as 'A sheet'. Moreover I also have date coloumn within same table from where i extracted those month names.
Now what i wanted to do is to select multiple months from slicer and use the month number of selected months in a measure for making farmula in dax.
I am new to power bi and i would greatly appriciate your help.
@Anonymous
You can use get the months selected and incorporate in a formula, this returns a single-column table for you to work with
VALUES('Calendar'[MonthNo])
________________________
If my answer was helpful, please consider Accept it as the solution to help the other members find it
Click on the Thumbs-Up icon if you like this reply 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Thank you for your help.
Your expression is allowing me to select one value from slicer and let me use it in farmula sucessfully however i want to select multiple values from slicer and use month number in farmulas and show it in table but in trying to do so it gives me the error.
I am using the farmula:
@Anonymous
Can you explain what your formula is supposed to calculate?
I see you have deducted 1 from the month number, you need to iterate each month number and calculate.
Share sample data and the expected results.
________________________
If my answer was helpful, please consider Accept it as the solution to help the other members find it
Click on the Thumbs-Up icon if you like this reply 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.