Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance 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 |
---|---|
22 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
25 | |
12 | |
11 | |
7 | |
6 |