The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi,
I need to create a summary table that will show a count summary that needs to look like:
Program 1: <20%= 46 count , <0%=50 count, >100%= 20 count
Program 2: <<20%= 30 count , <0%=10 count, >100%= 5 count
This would serve as a summary table that audience can click to navigate to all, for example, 46 count that is below 20% running stock.
The issue is count formula will not work since the measurement in the picture is not in column/rows since I created the measure. I tried switch (true) as well to no luck. Any ideas how I can create this summary table?
This is what's running the image below:
Solved! Go to Solution.
Hi @ashako88 ,
Is that you want the total rows show the result as your example, program 1?
If yes, you should use HASONEVALUE(<columnName>) to control if it is a total row. Something like the following:
Running Safety Stock =
IF( HASONEVALUE(TABLE[Material]), calculation for total, calculation for normal)
Calculation for normal the same as your measure running safety stock
Calculation for total, you need create a table via VAR _Table = COUNTROWS(FILTER(TABLE, [precent]>0.2 && etc.. ) or COUNTROWS(SUMMARIZE (TABLE,.......). But i recommend you to calculate the present in fact table. If in measure will affect the performance of inactive.
You can share some example data and expects result if you need more help.
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @ashako88 ,
Is that you want the total rows show the result as your example, program 1?
If yes, you should use HASONEVALUE(<columnName>) to control if it is a total row. Something like the following:
Running Safety Stock =
IF( HASONEVALUE(TABLE[Material]), calculation for total, calculation for normal)
Calculation for normal the same as your measure running safety stock
Calculation for total, you need create a table via VAR _Table = COUNTROWS(FILTER(TABLE, [precent]>0.2 && etc.. ) or COUNTROWS(SUMMARIZE (TABLE,.......). But i recommend you to calculate the present in fact table. If in measure will affect the performance of inactive.
You can share some example data and expects result if you need more help.
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.