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.
Dear Power BI Experts,
Here is my scenario and I need valuable inputs.
Scenario:
1. I have a dataset which contains data from 1-1-2015 to till date.
2. I have a date filter on my dashboard (Slicer) - Which is DimDate Dataset
3. If user selected 01-10-2017 as start date & 31-10-2017 as end date. Then
4. I need to show total number of records from 1-1-2015 to 01-10-2017 as one of the KPI.
Since in my Power BI data model, dataset & time have a relationship on transaction date. Because of that KPI is displayed while calculating the number of rows from 01-10-2017. Is there any workaround?
Thanks in Advance.
You may add CROSSFILTER Function outside and set cross-filter direction to None.
@v-chuncz-msft, Sorry for the late reply. I think we are almost there but still need your expert advise.
Below are my scenario's.
1. Calculate the record count from 1-1-2015 to Start Date of the Slicer (i.e., 10-1-2017)
2. Calculate the record count from 1-1-2015 to End Date of the Slicer (i.e., 10-31-2017).
Below are the DAX I am using,
Kindly let me know your inputs.
Thanks,
Guru
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 |
---|---|
14 | |
2 | |
2 | |
1 | |
1 |