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 been using a DAX measure to harvest slicer selections (in example: Sales Area, Financial Quarter Year), create keys on the fly and use these to then filter a disconnected Targets table and sum the relevant values.
If you want the measure to be blank in tables yet not blank in cards, you'll need a second measure, like:
New Clients Target MEASURE Non Blank = IF(ISBLANK([New Clients Target MEASURE]),0,[New Clients Target MEASURE])
Cheers!
Nathan
Thanks for the suggestion Nathan, though it's not that I want the measure to return a 0 instead of a blank. Basically regardless of whether there are any data rows I want the Target measure (hence table) to still be able to return it's value.
When I select Belfast, the value for the current selections should return 1. However due to the lack of New client in the sales table, the target measure is returns either a blank, or a zero as per your IF suggestion.
I want to be able to see a Sales Areas target regardless of whether a sale has occured within the selected time period.
I'm struggling to articulate this problem, hopefully the screenshot below helps...
@pmcmonag - Why is targets disconnected? You could make a many-to-many relationship to Targets from each of the date and Team tables. Then you don't need to do too much work in DAX.
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 |
---|---|
112 | |
97 | |
85 | |
67 | |
59 |
User | Count |
---|---|
150 | |
120 | |
100 | |
87 | |
68 |