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.
I have a Calendar Year column and a Fiscal Year column in the date-dimension table.
I put them in 2 slicers as follows.
I put 2 cards together as the following example: the big value (i.e. 64) that can be got when select a single value in slicer_1 or slicer_2; the small value (i.e. 'LY: 74') that is for the previous year when select a single value in slicer_1 or slicer_2.
I want:
For example, here when select 'FY 2018-2019' in slicer_2, only display the small value for the previous Fiscal Year 'FY 2017-2018'.
I guess there could be a IF function/expression for this previous stuff. But how to write it?
Solved! Go to Solution.
You would need two measures for big and small values respectively.
To get selected values you can leverage SELECTEDVALUE, HASONEVALUE and IF functions.
In order to receive more detailed help please provide sample data.
Regards,
Ruslan Zolotukhin (zoloturu)
BI Engineer at Akvelon Inc. / Kharkiv Power BI User Group Leader / DAX & Power BI Trainer
-------------------------------------------------------------------
Did I answer your question? Mark my post as a solution!
It was useful? Press Thumbs Up!
You are from Ukraine? If yes then welcome to Power BI User Group - KhPUG website. Other country? Check and find proper one - Power BI User Groups
You would need two measures for big and small values respectively.
To get selected values you can leverage SELECTEDVALUE, HASONEVALUE and IF functions.
In order to receive more detailed help please provide sample data.
Regards,
Ruslan Zolotukhin (zoloturu)
BI Engineer at Akvelon Inc. / Kharkiv Power BI User Group Leader / DAX & Power BI Trainer
-------------------------------------------------------------------
Did I answer your question? Mark my post as a solution!
It was useful? Press Thumbs Up!
You are from Ukraine? If yes then welcome to Power BI User Group - KhPUG website. Other country? Check and find proper one - Power BI User Groups
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.
User | Count |
---|---|
113 | |
100 | |
78 | |
76 | |
52 |
User | Count |
---|---|
144 | |
109 | |
108 | |
88 | |
61 |