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.
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!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
82 | |
81 | |
52 | |
39 | |
35 |
User | Count |
---|---|
95 | |
79 | |
52 | |
49 | |
47 |