Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
RT221994
Regular Visitor

QlikSense to Power BI Migration

Hi Everyone,

I need help in creating this qliksense Measure into Power BI.

if([Invoice Type]='PCard',
Sum( Aggr(Sum(DISTINCT {<%FlagPCardFinal={'PCard'}>}[Invoice Spend (GBP)]),[Pcard_Transaction Reference])),
SUM({<%FlagExclusion = {$(vIncludenonnegotiateSpend)},[%ARIBA/BW]= {$(vAribaBWSelection)}>}[Invoice Spend (GBP)]))

There are two variables -
1. =if(GetSelectedCount([Include BW Spend])=0,'Ariba',chr(39) & concat(DISTINCT [%ARIBA/BW],chr(39)&','&chr(39)) & chr(39))
2. =if(GetSelectedCount([Include non-negotiated Spend])=0,0,chr(39) & concat(DISTINCT %FlagExclusion,chr(39)&','&chr(39)) & chr(39))


and two inline tables with 

RT221994_0-1696248018622.png

 




1 REPLY 1
lbendlin
Super User
Super User

Please provide sample data (with sensitive information removed) that covers your issue or question completely, in a usable format (not as a screenshot). Leave out anything not related to the issue.
If you are unsure how to do that please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Please show the expected outcome based on the sample data you provided.

If you want to get answers faster please refer to https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.