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.
Hi all,
Please could someone advise the DAX code required to create the below measures?
Some of the measures need to count data across multiple tables. I am also looking to filter the entire page's data by date but there are mutiple date columns across the 3 different tables - please see below.
Column 1: Team
Column 2: Subset
Column 3: Username
Column 4:
Column 5:
Column 6:
Column 7:
Column 8:
Column 9:
Column 10:
Column 11:
Date Filter/Slicer:
I want to be able to have a date slicer at the top which filters on dates 'Action Date' in 'Export Actions' and 'Export Actions - History' AND ALSO 'Created Date' in 'Export Jobs'.
1. Example of report visualisation
2. Export Actions
3. Export Actions - History
4. Export Jobs
Solved! Go to Solution.
I think the first thing you need to do is create a calendar table and relate each of your dates in your other tables to that. That will allow you filter on a singular date field.
With regard to your measures, you should be able to achieve this with the count rows / filter functions:
https://docs.microsoft.com/en-us/dax/countrows-function-dax
https://docs.microsoft.com/en-us/dax/filter-function-dax
https://docs.microsoft.com/en-us/dax/dax-operator-reference
This will give you something along the lines of:
I think the first thing you need to do is create a calendar table and relate each of your dates in your other tables to that. That will allow you filter on a singular date field.
With regard to your measures, you should be able to achieve this with the count rows / filter functions:
https://docs.microsoft.com/en-us/dax/countrows-function-dax
https://docs.microsoft.com/en-us/dax/filter-function-dax
https://docs.microsoft.com/en-us/dax/dax-operator-reference
This will give you something along the lines of:
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 |
---|---|
109 | |
98 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |