Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hi
Being new to DAX, I am stuck and would appreciate some help. My data table has many columns of which one is the Financial Year. I would like the user to select any financial year in a slicer and would then display the data for the selected year as well as the previous year. I made two measures, SelectedFY and PreviousFY. I wanted to use these measures to filter the data, but it only works when I hardcode the variables.
So this works:
Solved! Go to Solution.
@WillemvB - try this solution and let me know if this resolve your problem. attached pbix file
If my post helps you to find solution would be happy if you could mark my post as a solution and give it a thumbs up
Best regards
Manoj Nair
Linkedin - https://www.linkedin.com/in/manoj-nair-%E2%98%81-344666104/
Thank you, Manoj. This solution helps me.
@WillemvB - try this solution and let me know if this resolve your problem. attached pbix file
If my post helps you to find solution would be happy if you could mark my post as a solution and give it a thumbs up
Best regards
Manoj Nair
Linkedin - https://www.linkedin.com/in/manoj-nair-%E2%98%81-344666104/
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 57 | |
| 38 | |
| 35 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 73 | |
| 70 | |
| 37 | |
| 35 | |
| 25 |