The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I'm putting together a percent change (index 100%) line graph. I'd like to be able to adjust the start date of the graph and have the chart adjust to 100% for the new date.
Below is the graph.
Hi,
Have you tried using SelectedValue measure to get the slicer selection? you can use the result into your formula instead of a hard-coded date.
Appreciate a Kudos! 🙂
If this helps and resolves the issue, please mark it as a Solution! 🙂
Regards,
N V Durga Prasad
Thank you for the suggestion. I didn't have luck with SelectedValue. I still receive the True/False error when I put it in dax. Dax I used is below:
Associate Perc Change = ((CALCULATE(SUM('Associate Fact Table'[ActiveStatusIs1]))
-
CALCULATE(SUM('Associate Fact Table'[ActiveStatusIs1]), 'Associate Fact Table'[File Date] = SELECTEDVALUE('Associate Fact Table'[File Date],DATE(2018,7,1)))))
/
CALCULATE(SUM('Associate Fact Table'[ActiveStatusIs1]), SELECTEDVALUE('Associate Fact Table'[File Date],DATE(2018,7,1)))
Looking at examples of how to use SelectedValue, I'm not sure how to get it to fit here.
User | Count |
---|---|
27 | |
12 | |
8 | |
8 | |
5 |
User | Count |
---|---|
31 | |
15 | |
12 | |
11 | |
7 |