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.
How to exclude or blank records from below DAX Calculation? % of Grand Total = DIVIDE ( SUM ('OD Database'[sales]), CALCULATE ( SUM ( 'OD Database'[sales]), ALL ( 'OD Database'[Trip Commodity Converted] )) ) Regards
Hi @Anonymous ,
Could you provide sample data? For now, I guess it may be because you have two tables, and then because of incomplete data in one table.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Blanks would automatically beexcluded from the source. if you want to avoid a BLANK value when certain filters are applied, then simply add +0 right at the end and BLANK becomes 0
@Anonymous , The information you have provided is not making the problem clear to me. Can you please explain with an example.
Appreciate your Kudos.
From the below screenshot, 83 % of trips are present with blank rows, I want to exclude the blank rows and then calculate the Grand total?
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 |
---|---|
114 | |
99 | |
82 | |
70 | |
60 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |