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 have a database contains "Company Names","Purchase Order","Payment Amount". data preview image is below
Data Preview
I try to create matrix table with columns;
Company name: Returns company names, that' s OK
Hk: at how many times I have pay that company, at this point i have a problem
SUM_Payment: sums all payments, that' s ok, see matrix table image below;
I tried to create measure that gives to Hk Sum false for avoding summing (like HASONEVALUE), but B Company has two value so B Company's Hk returns also false...
My expectation from matrix table is "Not to see sum of Hk" . How can I avoid summing Hk ?
Solved! Go to Solution.
Hi,
Try with ISFILTERED:
Hk =
IF(
ISFILTERED( Hakedis_Data[Company_name] ),
MAX( Hakedis_Data[Purchase Order] ),
BLANK()
)
Regards
Hi,
Try with ISFILTERED:
Hk =
IF(
ISFILTERED( Hakedis_Data[Company_name] ),
MAX( Hakedis_Data[Purchase Order] ),
BLANK()
)
Regards
@Anonymous , use isinscope or isfiltered and try
https://www.kasperonbi.com/use-isinscope-to-get-the-right-hierarchy-level-in-dax/
if(isinscope(Table[Company Name]), [HK], blank())
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
144 | |
75 | |
63 | |
51 | |
48 |
User | Count |
---|---|
211 | |
86 | |
64 | |
59 | |
56 |