Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
73 | |
71 | |
54 | |
38 | |
31 |
User | Count |
---|---|
71 | |
64 | |
62 | |
50 | |
46 |