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 Power BI Community,
I have a PBI report where I would like to plot the sales data based on the Electonics type for each month..
I have a table "ElectronicsSales" with a column called "Electronics" which has a list of all electronics and other column called "Revenue".
I created a measure.
Sales Revenue= Sum( ElectronicSales[Revenue] )
Now in the matrix visual, I put
Rows field = Electronics
Columns filed = Date
Values = Sales Revenue measure
The result is something like below screenshot.
But i would like to remove the row Cameras which has 0 for all the months and just want to show remaining rows.
In simple words, I would like to remove the rows which has 0 for all the months from the matrix visual.
Thanks in advance
Solved! Go to Solution.
@Krish89 ,
Try a measure like
Measure =
var _1 =Sum( ElectronicSales[Revenue] )
return
if(_1=0 , blank(), _1)
@Krish89 ,
Try a measure like
Measure =
var _1 =Sum( ElectronicSales[Revenue] )
return
if(_1=0 , blank(), _1)
could u pls share measure DAX formula again, given formula is not working.
Hi @Krish89 ,
Just use the following measure:
Sales Revenue= Sum( ElectronicSales[Revenue] )+0
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Dedmon Dai
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 | |
83 | |
70 | |
60 |
User | Count |
---|---|
150 | |
115 | |
104 | |
89 | |
65 |