Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
I'm struggling to convert the Include LOD in Power BI. I'm not getting the result required.
Tableau Query is
{ INCLUDE [Number (Sheet11)],[Name (Sheet11)],[Organization (Sheet11)],[Distribution (Sheet11)],[Division (Sheet11)]:
COUNTD(IF [Status (Sheet11)] = "Pass"
THEN [Number of Records]
END)}
Number of Records = 1
The result coming in Tableau is
The query I kept in power BI
I am not sure where I'm wrong. But the result in tableau and Power BI are totally different
How should we convert Include LOD in Power BI DAX
I have attached my Tableau and Power BI Fie as reference.
Help in this is really needed.
Thanks in advance.
Solved! Go to Solution.
Hi @asdf1608
Try the following DAX
Calculation2 =
CALCULATE(
DISTINCTCOUNT('Sheet1'[Number ]),
FILTER(
ALLEXCEPT(
'Sheet1',
'Sheet1'[Number ],
'Sheet1'[ Name],
'Sheet1'[Organization],
'Sheet1'[Distribution],
'Sheet1'[Division]
),
'Sheet1'[Status] = "Pass"
)
)
This is the result you want
Best Regards,
Jayleny
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @asdf1608
Try the following DAX
Calculation2 =
CALCULATE(
DISTINCTCOUNT('Sheet1'[Number ]),
FILTER(
ALLEXCEPT(
'Sheet1',
'Sheet1'[Number ],
'Sheet1'[ Name],
'Sheet1'[Organization],
'Sheet1'[Distribution],
'Sheet1'[Division]
),
'Sheet1'[Status] = "Pass"
)
)
This is the result you want
Best Regards,
Jayleny
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
17 | |
10 | |
10 | |
8 | |
6 |
User | Count |
---|---|
20 | |
18 | |
16 | |
13 | |
10 |