Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hallo everyone,
Please save my day. I am about to be crazy.
I want to count the items less than 80% in pareto mesure and put in a card visual. The Formel as below :
hi, @Talal141218
here you use
IF(VALUE(Fact_SalesInvoiceLine[Parteto %]) <= 0.8, DISTINCTCOUNT(Dim_Item[ItemNo]))
logic in which you use two different table (Dim_Item and Fact_SalesInvoiceLine) so first check relationship bw them
you say it give when i use this formel count all items. if relationship is not correct then it might possible to give all item.
as you provide data screen short below formula work well. but it might other problem present like relationship or something else
Thanks for your reply. I traid this Formula before and didn't work correctly. I thnik as you in your reply mentioned the count all items despit there is a relationship between tabels. Do you have an idea, how can i check the relationship or correct it?
hi, @Talal141218
when you compare value with percantage it not work with 0.8
for that you have to provide value which consider as a percantage value
try below
CALCULATE(DISTINCTCOUNT(Dim_Item[ItemNo]),Fact_SalesInvoiceLine[Pareto %] <= 80/100)
here you can check . i have different data but it work perfectly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Thanks a lot for ur reply, but the Formula dosn't work either. I write down the Pareto measure maybe helped in logic. As below :
Hi,
I will send you a pic and the measure, which i used and already shared before. I want to count the Artikel the column in the left side less than 80% Pareto.
Thanks for your support.
CALCULATE(DISTINCTCOUNT(Dim_Item[ItemNo]),Fact_SalesInvoiceLine[Pareto %] <= 0.8)
Thanks for your reply, but i tried this formula and it dosen't work.
How about:
CALCULATE(DISTINCTCOUNT(Dim_Item[ItemNo]),FILTER(Fact_SalesInvoiceLine[Pareto %] <= 0.8))
Sorry, the same problem, it will be better if we use conditional function.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
24 | |
12 | |
11 | |
10 | |
9 |
User | Count |
---|---|
18 | |
14 | |
14 | |
13 | |
12 |