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 experts,
How do I when a date filter is not used, it makes a distinct selection based on a field ??
I have the case that the sales order has two dates, one for opportunity and the other for sales forecast, if I select the date, it has to appear, if I do not filter anything, I wanted it to show the sales order only once (select distinct).
Example:
Rgs,
Fabio
Solved! Go to Solution.
@fsantos , you can use is filtered to check if data is filtered or not.
if it is not filtered
the use the measure for value
lastnonblankvalue(Table[Date], sum(Table[Value]))
else use sum(Table[Value])
refer
https://powerpivotpro.com/2013/03/hasonevalue-vs-isfiltered-vs-hasonefilter/
I using o SUMX with DISTINCT.
@fsantos , you can use is filtered to check if data is filtered or not.
if it is not filtered
the use the measure for value
lastnonblankvalue(Table[Date], sum(Table[Value]))
else use sum(Table[Value])
refer
https://powerpivotpro.com/2013/03/hasonevalue-vs-isfiltered-vs-hasonefilter/
I using o SUMX with DISTINCT.
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 |
---|---|
110 | |
94 | |
80 | |
67 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |